]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Fix the bug of disk->copy_on_read formating
authorOsier Yang <jyang@redhat.com>
Tue, 14 May 2013 09:03:02 +0000 (17:03 +0800)
committerOsier Yang <jyang@redhat.com>
Thu, 16 May 2013 15:07:51 +0000 (23:07 +0800)
commite3b40bec426273028c218f3bef147d424ad7759a
tree4b7106c893ceb7f44e09318104abaa0adc620733
parentd3842cb4e418dca99d5cba6f94b45a6972e6c989
conf: Fix the bug of disk->copy_on_read formating

The reason for it's not exposed for such long time is that the
enums for VirtioEventIdx and CopyOnReadType have same enum values
and Correspondingstrings. This fixes the bug and adds test.
src/conf/domain_conf.c
tests/qemuxml2argvdata/qemuxml2argv-disk-copy_on_read.xml
tests/qemuxml2xmltest.c