aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOsier Yang <jyang@redhat.com>2012-02-27 18:19:54 +0800
committerOsier Yang <jyang@redhat.com>2012-02-28 14:27:11 +0800
commit4288b22fb20f91102353ca472fb08dc694074ab3 (patch)
tree5a62e568e6ce9e4a6a67ce0d0edf5605ab7a5ac2 /tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
parentconf: Add helper function to look up disk controller model (diff)
downloadlibvirt-4288b22fb20f91102353ca472fb08dc694074ab3.tar.gz
libvirt-4288b22fb20f91102353ca472fb08dc694074ab3.tar.bz2
libvirt-4288b22fb20f91102353ca472fb08dc694074ab3.zip
conf: Introduce new attribute for device address format
* src/conf/domain_conf.h: Add new member "target" to struct _virDomainDeviceDriveAddress. * src/conf/domain_conf.c: Parse and format "target" * Lots of tests (.xml) in tests/domainsnapshotxml2xmlout, tests/qemuxml2argvdata, tests/qemuxml2xmloutdata, and tests/vmx2xmldata/ are modified for newly introduced attribute "target" for address of "drive" type.
Diffstat (limited to 'tests/qemuxml2argvdata/qemuxml2argv-cputune.xml')
-rw-r--r--tests/qemuxml2argvdata/qemuxml2argv-cputune.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-cputune.xml b/tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
index b89232088..b3192c7b3 100644
--- a/tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
+++ b/tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
@@ -24,7 +24,7 @@
<disk type='block' device='disk'>
<source dev='/dev/HostVG/QEMUGuest1'/>
<target dev='hda' bus='ide'/>
- <address type='drive' controller='0' bus='0' unit='0'/>
+ <address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0'/>
<controller type='ide' index='0'/>