]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: fix RBD attach regression
authorScott Sullivan <ssullivan@liquidweb.com>
Wed, 21 Nov 2012 18:06:25 +0000 (13:06 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 21 Nov 2012 19:33:23 +0000 (12:33 -0700)
commitf0e72b2f5c675f927d04545dc5095f9e5998f171
tree4bdaa1e8718fa498023072bf503f026379597473
parentbb2f6216119d50f25541ab259f24160ef1ec7a97
qemu: fix RBD attach regression

I have been testing libvirt v1.0.0 for deployment within my
organization, and in the process discovered what appears to be a bug
that breaks virsh attach-device, when attaching an RBD volume to an
instance. First, here is the error presented, with v1.0.0 (this worked
in v0.10.2):

[root@host ~]# virsh attach-device W5APQ8  G84VV1.xml
error: Failed to attach device from G84VV1.xml
error: cannot open file 'dc3-1-test/G84VV1': No such file or directory

Using git bisect, I narrowed the problem down to this as the first
commit to break this setup:

4d34c92947e8cf9e9bedfa227ada1d2dba92d68a is the first bad commit
src/qemu/qemu_domain.c