From 59182924f01e4d2e8f6d8af27c355c191f332eba Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Fri, 21 May 2021 11:14:48 +0200 Subject: 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 --- qrap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'qrap.c') 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 }, }; -- cgit v1.2.3