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:
parent
9010054ea4
commit
59182924f0
1 changed files with 1 additions and 0 deletions
1
qrap.c
1
qrap.c
|
@ -49,6 +49,7 @@ static const struct drop_arg {
|
||||||
{ "-device", "virtio-net-pci," },
|
{ "-device", "virtio-net-pci," },
|
||||||
{ "-device", "virtio-net-ccw," },
|
{ "-device", "virtio-net-ccw," },
|
||||||
{ "-device", "e1000," },
|
{ "-device", "e1000," },
|
||||||
|
{ "-device", "e1000e," },
|
||||||
{ "-device", "rtl8139," },
|
{ "-device", "rtl8139," },
|
||||||
{ 0 },
|
{ 0 },
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue