<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div>      When i use "virsh attach-device rhel disk.xml" when the guest is booting,then i can't find the disk in the guest after booting.But i can find it by "virsh domblklist rhel",and when i want to detach it from the guest and use "virsh detach-disk rhel vdb", i still can find the disk by "virsh domblklist rhel"</div><div>    The disk.xml is like:</div><div><disk type="file" device="disk"><br><driver name='qemu' type='raw' cache='none'/><br><source file="/var/lib/libvirt/images/foo.img"/><br><target dev="vdb" bus="virtio"/><br></disk></div><div><br></div><div>Libvirt-release is 5.0.0.4 and the qemu-kvm release is 3.1.0</div><div><br></div><div>So i want to know why it failed to attach-disk when booting,and why we <span class="gmail-tlid-translation gmail-translation"><span title="" class="gmail-">design in this way.Maybe it's better to return failure if we can't use it like this.<br></span></span></div></div></div></div>