I am running Qubes 3.2 on a Lenovo Yoga 720. The wireless hardware for this is Qualcomm Atheros QCA6174. This card has given me a few headaches.
Anytime I go to shutdown sys-net (typically to restart it) I get the following errors (in dom0) in /var/log/libvirt/libxl/libxl-driver.log:
2017-10-20 20:01:04 EDT libxl: error: libxl_pci.c:1321:do_pci_remove: xc_physdev_unmap_pirq irq=333: Invalid argument
2017-10-20 20:01:04 EDT libxl: error: libxl_pci.c:1325:do_pci_remove: xc_domain_irq_permission irq=333: Operation not permitted
2017-10-20 20:01:14 EDT libxl: error: libxl_device.c:1269:libxl__wait_for_backend: Backend /local/domain/0/backend/pci/1/0 not ready
2017-10-20 20:01:14 EDT libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block remove [3874] exited with error status 1
2017-10-20 20:01:14 EDT libxl: error: libxl_device.c:1138:device_hotplug_child_death_cb: script: /etc/xen/scripts/block failed; error detected.
After this sys-net will fail to restart (stalling on the qrexec-daemon), throwing the following error in the same logfile:
libxl_device.c:1269:libxl__wait_for_backend: Backend /local/domain/0/backend/pci/2/0 not ready
If I detach the wireless card from sys-net the VM will shutdown/start/restart without errors. So this is some driver or hardware virtualization issue.
(Incidentally I only got suspend/resume working by setting pci_strictreset to false AND blacklisting the wireless kernel modules for sys-net.)
I think this might be related to https://github.com/QubesOS/qubes-issues/issues/2882 but I don't know for certain.
Other info:
sys-net running fedora-25 (also happened with fedora-23)
Dom0 kernel is 4.9.45-21
Can anyone help with this? I'd like to be able to restart sys-net without rebooting.
Thanks!