In trying to get drbd:<resource> working under hvm, I have found that the block- scripts get called after qemu is started. IMHO this is a bug - qemu should be start after the block-* script is called so that things can get set up. As per a previous post I have patched qemu to detect drbd: and find the right device, but because the drbd device isn''t set to ''primary'' yet by the script, qemu can''t open it and fails. James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
James Harper
2010-Apr-06 10:19 UTC
RE: [Xen-devel] bug? block- script called after qemu start
> > In trying to get drbd:<resource> working under hvm, I have found that > the block- scripts get called after qemu is started. IMHO this is abug> - qemu should be start after the block-* script is called so thatthings> can get set up. >Actually it''s even worse than that - qemu races with the block-* scripts, so sometimes it actually works! James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel