<div>hello,I 've deployed libvirt, and it is OK to use kvm.But when I use virtualbox,I can not attach a device to a domain.</div>
<div>It reports the error that can't get device from device.xml<br>here is my xml file for device(device.xml):<br><disk type='block'><br> <driver name='phy'/><br> <source dev="/home/lb/iscsitest/vdisk.img"/><br>
<target dev='sdb' bus='usb'/><br></disk></div>
<div>and the xml file for the vm:</div>
<div> </div>
<div><domain type='vbox'><br> <name>winxp_3D</name><br> <uuid>d2542bf2-3d56-41fa-a048-4f9a7ed3cf4a</uuid><br> <memory>787456</memory><br> <currentMemory>787456</currentMemory><br>
<vcpu>1</vcpu><br> <os><br> <type arch='x86_64'>hvm</type><br> <boot dev='fd'/><br> <boot dev='cdrom'/><br> <boot dev='hd'/><br>
</os><br> <features><br> <acpi/><br> </features><br> <clock offset='localtime'/><br> <on_poweroff>destroy</on_poweroff><br> <on_reboot>destroy</on_reboot><br>
<on_crash>destroy</on_crash><br> <devices><br> <disk type='file' device='disk'><br> <source file='/root/VirtualBox VMs/winxp_3D/winxp_3D.vdi'/><br> <target dev='hda' bus='ide'/><br>
</disk><br> <interface type='bridge'><br> <mac address='08:00:27:6f:c6:4f'/><br> <source bridge='tap0'/><br> <model type='Am79C973'/><br>
</interface><br> <input type='mouse' bus='ps2'/><br> <graphics type='desktop' display=':0.0'/><br> <sound model='ac97'/><br> <video><br>
<model type='vbox' vram='32768' heads='1'><br> <acceleration accel3d='yes' accel2d='yes'/><br> </model><br> </video><br> </devices><br>
</domain><br><br></div>