[libvirt] [PATCH] qemu: do not set unpriv_sgio if neither supported nor requested
Jiri Denemark
jdenemar at redhat.com
Tue Feb 26 12:57:15 UTC 2013
On Mon, Feb 25, 2013 at 17:38:32 +0100, Paolo Bonzini wrote:
> Currently we call virSetDeviceUnprivSGIO with val == 0 if a block device
> has an sgio attribute. But for sgio='filtered', we know that a
> kernel with no unpriv_sgio support will always behave as the user
> wanted. In this case, there is no need to call the function and
> report a (bogus) error.
>
> Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
> ---
> src/qemu/qemu_process.c | 35 +++++++++++++++++------------------
> 1 file changed, 17 insertions(+), 18 deletions(-)
ACK and pushed. Thanks,
Jirka
More information about the libvir-list
mailing list