From: Philippe Mathieu-Daudé Date: Sun, 26 Sep 2021 20:19:26 +0000 (+0200) Subject: hw/remote/proxy: Categorize Wireless devices as 'Network' ones X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=daf0db06308b55c518312abc39a4bf74413ac007;p=qemu.git hw/remote/proxy: Categorize Wireless devices as 'Network' ones QEMU doesn't distinct network devices per link layer (Ethernet, Wi-Fi, CAN, ...). Categorize PCI Wireless cards as Network devices. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Jagannathan Raman Message-Id: <20210926201926.1690896-1-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- diff --git a/hw/remote/proxy.c b/hw/remote/proxy.c index 499f540c94..bad164299d 100644 --- a/hw/remote/proxy.c +++ b/hw/remote/proxy.c @@ -324,6 +324,7 @@ static void probe_pci_info(PCIDevice *dev, Error **errp) set_bit(DEVICE_CATEGORY_STORAGE, dc->categories); break; case PCI_BASE_CLASS_NETWORK: + case PCI_BASE_CLASS_WIRELESS: set_bit(DEVICE_CATEGORY_NETWORK, dc->categories); break; case PCI_BASE_CLASS_INPUT: