[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] disallow duplicate pci device strings in guest config file
When we specify duplicate pci device strings in guest config file, like pci=['01:00.0', '01:00.0'], or pci=['01:00.0', '0000:01:00.0'], or pci=['01:00.0', '0000:01:00.0@7'], xend doesn't detect this case and passes the pci string to ioemu and ioemu invokes register_real_device() twice for the same physical device and this could cause unexpected behavior. The patch detects this case and makes the domain construction fail. Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx> Attachment:
disallow_duplicate_pci_strings.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |