been having a similar issue only since i started using docker containers, which are way better then using VM's for me for startup/shutdown/usage speeds.
i use network types of host/bridge/br0. br0 was needed with custom ip, cause Comcast is a trash company.
i have been using macvlan, so i just switched it to ipvlan. will report back if this addresses my issue.
this helped me with my issue as well. i was trying to pass through a 9800GT graphics card to Windows XP VM and it would show up and let me install drivers but had a code 10. i tried a bunch of crap but then saw this and figured maybe it'd work on a graphics card. I did break my VM once but was able to use the vdisk on a new VM. but i changed my bus for the 9800 in the xml from 0x00 to 0x06, and it was detected in the vm then without code 10 error. at that point i just had to reinstall the nvidia drivers and reboot.
thanks for this super odd solution