search for: is_reassigndev

Displaying 3 results from an estimated 3 matches for "is_reassigndev".

2008 Oct 08
8
[PATCH] dom0 linux: Reassign memory resources to device for pci passthrough.
...9ef drivers/pci/pci.h --- a/drivers/pci/pci.h Thu Oct 02 11:29:02 2008 +0100 +++ b/drivers/pci/pci.h Wed Oct 08 12:12:27 2008 +0900 @@ -99,3 +99,8 @@ return NULL; } +#define ROUND_UP_TO_PAGESIZE(size) ((size + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)) + +extern int reassign_resources; +extern int is_reassigndev(struct pci_dev *dev); +extern void pci_update_bridge(struct pci_dev *dev, int resno); diff -r b54652ee29ef drivers/pci/quirks.c --- a/drivers/pci/quirks.c Thu Oct 02 11:29:02 2008 +0100 +++ b/drivers/pci/quirks.c Wed Oct 08 12:12:27 2008 +0900 @@ -33,6 +33,19 @@ } __setup("pci-mem-align&quot...
2008 Oct 17
0
[PATCH] Fix compilation error when CONFIG_PCI_REASSIGN is not set.
....co.jp> diff -r fac93b1081da drivers/pci/pci.h --- a/drivers/pci/pci.h Fri Oct 17 18:13:52 2008 +0900 +++ b/drivers/pci/pci.h Fri Oct 17 18:15:31 2008 +0900 @@ -104,4 +104,5 @@ extern void pci_disable_bridge_window(st extern void pci_disable_bridge_window(struct pci_dev *dev); #else #define is_reassigndev(dev) 0 +static inline void pci_disable_bridge_window(struct pci_dev *dev) {} #endif _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2008 Dec 25
0
[PATCH 2/4] dom0 linux: Add "guestdev=" boot parameter.
...exist. %s\n", path_str); + } + } + return 0; +} + +fs_initcall(pci_check_guestdev_exists); + diff -r 4769a6db78f5 -r fcefb8852878 drivers/pci/pci.h --- a/drivers/pci/pci.h Thu Dec 25 10:37:52 2008 +0900 +++ b/drivers/pci/pci.h Thu Dec 25 10:43:34 2008 +0900 @@ -105,3 +105,7 @@ #else #define is_reassigndev(dev) 0 #endif + +#ifdef CONFIG_PCI_GUESTDEV +int pci_is_guestdev_to_reassign(struct pci_dev *dev); +#endif /* CONFIG_PCI_GUESTDEV */ diff -r 4769a6db78f5 -r fcefb8852878 drivers/pci/reassigndev.c --- a/drivers/pci/reassigndev.c Thu Dec 25 10:37:52 2008 +0900 +++ b/drivers/pci/reassigndev.c Thu Dec...