xen: actually setup hypercalls.
authorIan Campbell <ian.campbell@citrix.com>
Wed, 13 Jul 2011 10:46:40 +0000 (11:46 +0100)
committerKevin O'Connor <kevin@koconnor.net>
Thu, 21 Jul 2011 00:39:36 +0000 (20:39 -0400)
This was somehow dropped during the iterations of the original Xen patches.
It's actually harmless at the moment since there are no users of hypercalls but
patches are being written to support Xen PV block devices which need this.

It's not clear exactly how early this needs to be but I think it needs to be at
least before init_hw() (since that would detect disk devices).

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
src/post.c

index 6f7aa14651b299c13de5c29f248d1f0ee599789e..e195e891fcab8bf1fd0c24f4bec1467d4a6e3469 100644 (file)
@@ -229,6 +229,9 @@ maininit(void)
     pci_setup();
     smm_init();
 
+    // Setup Xen hypercalls
+    xen_init_hypercalls();
+
     // Initialize internal tables
     boot_setup();