diff options
author | Osier Yang <jyang@redhat.com> | 2012-02-27 18:19:54 +0800 |
---|---|---|
committer | Osier Yang <jyang@redhat.com> | 2012-02-28 14:27:11 +0800 |
commit | 4288b22fb20f91102353ca472fb08dc694074ab3 (patch) | |
tree | 5a62e568e6ce9e4a6a67ce0d0edf5605ab7a5ac2 /tests/vmx2xmldata/vmx2xml-floppy-file.xml | |
parent | conf: Add helper function to look up disk controller model (diff) | |
download | libvirt-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/vmx2xmldata/vmx2xml-floppy-file.xml')
-rw-r--r-- | tests/vmx2xmldata/vmx2xml-floppy-file.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vmx2xmldata/vmx2xml-floppy-file.xml b/tests/vmx2xmldata/vmx2xml-floppy-file.xml index 75d0d625a..c36e3f0dd 100644 --- a/tests/vmx2xmldata/vmx2xml-floppy-file.xml +++ b/tests/vmx2xmldata/vmx2xml-floppy-file.xml @@ -14,7 +14,7 @@ <disk type='file' device='floppy'> <source file='[datastore] directory/floppy.flp'/> <target dev='fda' bus='fdc'/> - <address type='drive' controller='0' bus='0' unit='0'/> + <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <controller type='fdc' index='0'/> <video> |