]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Allow the user to specify vendor and product for disk
authorOsier Yang <jyang@redhat.com>
Thu, 6 Dec 2012 10:23:02 +0000 (18:23 +0800)
committerOsier Yang <jyang@redhat.com>
Fri, 7 Dec 2012 08:53:27 +0000 (16:53 +0800)
commitb718ded39a6f5642a5b5c42134f6b1717ae25c49
treeb817ea36f759361307561308e2fc99c644c88445
parentdfa1e1dd5325f3a6bc8865312cde557044bf0b93
qemu: Allow the user to specify vendor and product for disk

QEMU supports setting vendor and product strings for disk since
1.2.0 (only scsi-disk, scsi-hd, scsi-cd support it), this patch
exposes it with new XML elements <vendor> and <product> of disk
device.
13 files changed:
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_command.c
src/util/util.c
src/util/util.h
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-disk-vpd-build-error.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-disk-vpd.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-disk-vpd.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c