]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/net/xen_nic: allow configuring as a device
authorJoao Martins <joao.m.martins@oracle.com>
Thu, 11 Oct 2018 15:43:01 +0000 (11:43 -0400)
committerJoao Martins <joao.m.martins@oracle.com>
Tue, 19 Feb 2019 14:00:57 +0000 (09:00 -0500)
commit977af6f951192b5e8a15582610f37c69fa18baa1
treea0922ec24d86deced4c8b0bf75620c4380683145
parentbb4164c7e4319320c4c13998071409414d48b2ff
hw/net/xen_nic: allow configuring as a device

Currently Qemu assumes (for the tupical Xen usecase) that it will just
watch directories and manage the synthetic device. Here we try to allow
the initial device initialization by creating the xenstore directories
accordingly.

Additionally make the backend also register "qnic" backend which is
needed for Xen emulated nics.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
hw/i386/xen/xen_platform.c
hw/net/xen_nic.c
hw/xen/xen-legacy-backend.c
target/i386/xen.c