diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-11-13 21:58:30 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-11-13 21:58:30 +0000 |
commit | f8b6fcaf8f7bd67ceb3c2a3d9a000b5e898ad479 (patch) | |
tree | 73df469a3c3fc5546327c5c22a1b7d7f86aed1d2 /extras/mini-os/main.c | |
parent | 42b2352e0147c7b4c369cf2bbac965dbe3589a73 (diff) | |
download | xen-f8b6fcaf8f7bd67ceb3c2a3d9a000b5e898ad479.tar.gz xen-f8b6fcaf8f7bd67ceb3c2a3d9a000b5e898ad479.tar.bz2 xen-f8b6fcaf8f7bd67ceb3c2a3d9a000b5e898ad479.zip |
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 <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/main.c')
-rw-r--r-- | extras/mini-os/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <sched.h> #include <console.h> #include <netfront.h> +#include <pcifront.h> #include <time.h> #include <stdlib.h> #include <unistd.h> @@ -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 */ |