attach-device error: XML error: unknown device type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fedora 18 (libvirt 0.10.2.6-1) I'm trying to add a new serial device
to a KVM VM with:

virsh attach-device foobar /tmp/serial.xml

and I keep getting:

error: Failed to attach device from /tmp/serial.xml
error: XML error: unknown device type

with serial.xml:

<serial type='file'>
  <source path='/tmp/serialfile'/>
  <target port='1'/>
</serial>

Though I tried it w/o the <target> tag, with and without the --config
flag, and with and without the guest running.  Assuming it's similar, I
tried and was successful in adding this device via virt-manager, though
it complains if the VM is running (which is fine).

What am I doing wrong with the virsh attach-device command or XML?

Thanks in advance.

-- 
Chris Evich, RHCA, RHCE, RHCDS, RHCSS
Quality Assurance Engineer
e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]