From f8b6fcaf8f7bd67ceb3c2a3d9a000b5e898ad479 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 13 Nov 2009 21:58:30 +0000 Subject: pcifront: implement dynamic connections and disconnections this patch implements dynamic connections and disconnections in pcifront. This feature is required to properly support pci hotplug, because when no pci devices are assigned to a guest, xend will remove the pci backend altogether. Signed-off-by: Stefano Stabellini --- extras/mini-os/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extras/mini-os/main.c') diff --git a/extras/mini-os/main.c b/extras/mini-os/main.c index ebdab33921..8b279a666c 100644 --- a/extras/mini-os/main.c +++ b/extras/mini-os/main.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -67,6 +68,7 @@ static void call_main(void *p) #endif init_fs_frontend(); #endif + create_thread("pcifront", pcifront_watches, NULL); #ifdef CONFIG_QEMU /* Fetch argc, argv from XenStore */ -- cgit v1.2.3