[libvirt-users] Reg: Adding "edu" device using XML file

Han Han hhan at redhat.com
Wed Oct 23 07:27:59 UTC 2019


On Tue, Oct 22, 2019 at 5:41 PM bharath paulraj <bharathpaul at gmail.com>
wrote:

> Hi Team,
>
> I am exploring "edu" device in QEMU to add my own custom device. I am able
> to add the device using the command line. Would it be possible to add the
> device using XML file through libvirt?
>
Hello, edu device is not implemented to libvirt xml. However you can use it
via custom device in libvirt:
Just define a domain like following:
<domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
...
 <qemu:commandline>
   <qemu:arg value='-device'/>
<qemu:arg value='edu'/>
 </qemu:commandline>
</domain>

More reference: https://libvirt.org/drvqemu.html#qemucommand

>
>
-- 
> Regards,
> Bharath
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users



-- 
Best regards,
-----------------------------------
Han Han
Quality Engineer
Redhat.

Email: hhan at redhat.com
Phone: +861065339333
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20191023/d118fa47/attachment.htm>


More information about the libvirt-users mailing list