Maybe I  can move this chunk of codes downward those actual allocation
to check if RDM conflicts with the final allocation, and then just
disable those associated devices by writing PCI_COMMAND without BUG()
like this draft code,

And what would keep the guest from re-enabling the device?


We can't but IMO,

#1. We're already posting that warning messages.

#2. Actually this is like this sort of case like, as you known, even in the native platform, some broken devices are also disabled by BIOS, right? So I think this is OS's responsibility or risk to force enabling such a broken device.

#3. Its really rare possibility in real world.

Thanks
Tiejun

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to