aboutgitcodebugslistschat
path: root/qrap.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-05-21 11:14:48 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-05-21 11:14:48 +0200
commit59182924f01e4d2e8f6d8af27c355c191f332eba (patch)
tree53262f3f9c4300e25b797b834f3800514770fd98 /qrap.c
parent9010054ea4ceee9105aa938f15b79a3a91ec5969 (diff)
downloadpasst-59182924f01e4d2e8f6d8af27c355c191f332eba.tar
passt-59182924f01e4d2e8f6d8af27c355c191f332eba.tar.gz
passt-59182924f01e4d2e8f6d8af27c355c191f332eba.tar.bz2
passt-59182924f01e4d2e8f6d8af27c355c191f332eba.tar.lz
passt-59182924f01e4d2e8f6d8af27c355c191f332eba.tar.xz
passt-59182924f01e4d2e8f6d8af27c355c191f332eba.tar.zst
passt-59182924f01e4d2e8f6d8af27c355c191f332eba.zip
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>
Diffstat (limited to 'qrap.c')
-rw-r--r--qrap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qrap.c b/qrap.c
index 6e9bafc..c58b514 100644
--- a/qrap.c
+++ b/qrap.c
@@ -49,6 +49,7 @@ static const struct drop_arg {
{ "-device", "virtio-net-pci," },
{ "-device", "virtio-net-ccw," },
{ "-device", "e1000," },
+ { "-device", "e1000e," },
{ "-device", "rtl8139," },
{ 0 },
};