]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Refactor qemuCheckSharedDisk to create qemuCheckUnprivSGIO
authorJohn Ferlan <jferlan@redhat.com>
Mon, 6 Jul 2015 17:08:32 +0000 (13:08 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 9 Jul 2015 10:48:05 +0000 (06:48 -0400)
commitf6a5cbbfdcd1cd5354de40c923968235951dc879
treeb4d68a814175dccb50c1ec5821db134990847c44
parente9c2734441af0065c69fc1317965a6dd6c7f14e3
qemu: Refactor qemuCheckSharedDisk to create qemuCheckUnprivSGIO

Split out the current function in order to share the code with hostdev
in a future patch. Failure to match the expected sgio value against what
is stored will cause an error which the caller would need to handle since
only the caller has the disk (or eventually hostdev) specific data in
order to uniquely identify the disk in an error message.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_conf.c