Domain Groups: arch-specific VMM mods
PATCH 6/8 Domain Groups: arch-specific VMM mods
xen-ia64:
Architecture-specific code to initialize group data structures and handle new domgrpctl hypercall.
Untested; it would help if someone with access to ia64 hardware would give this a shot.
xen/arch/ia64/xen/xensetup.c +7 -0
@@ -16,6 +16,7 @@#include <xen/version.h> #include <xen/console.h> #include <xen/domain.h> +#include <xen/domgrp.h> #include <xen/serial.h> #include <xen/trace.h> #include <xen/keyhandler.h>
@@ -514,6 +515,10 @@ printk("num_online_cpus=%d, max_cpus=%d\expose_p2m_init (); +/* initialize domain groups */ +if (init_domain_groups ()) +panic ("Error creating default groups\n" ); +/* Create initial domain 0. */ dom0 =domain_create (0 ,0 );if (dom0 ==NULL )
@@ -523,6 +528,8 @@ printk("num_online_cpus=%d, max_cpus=%d\panic ("Cannot allocate dom0 vcpu 0\n" ); dom0->is_privileged =1 ; +if (add_dom_to_grp (dom0,0 )) +panic ("Error adding dom0 to grp0\n" );/* * We're going to setup domain0 using the module(s) that we stashed safely
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel