1
0
mirror of https://passt.top/passt synced 2024-07-02 16:02:40 +00:00

qrap: Also drop -device e1000e,... from qemu command line

As libvirt can pass e1000e (not just e1000) devices as well,
make sure we also drop those network devices from the command
line before adding the parameters we need.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-05-21 11:14:48 +02:00
parent 9010054ea4
commit 59182924f0

1
qrap.c
View File

@ -49,6 +49,7 @@ static const struct drop_arg {
{ "-device", "virtio-net-pci," },
{ "-device", "virtio-net-ccw," },
{ "-device", "e1000," },
{ "-device", "e1000e," },
{ "-device", "rtl8139," },
{ 0 },
};