xen: actually setup hypercalls.
PATCH 1/1 xen: actually setup hypercalls.
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). I put it first in maininit() since the only dependency is malloc().
--- src/post.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
src/post.c +3 -0
@@ -210,6 +210,9 @@ startBoot(void)static void maininit (void ) { +// Setup Xen hypercalls +xen_init_hypercalls (); +// Setup ivt/bda/ebda init_ivt ();init_bda ();
Signature · 1 line
1.7.2.5
Quoted 9 lines · Ian Campbell
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). I put it first inmaininit()since the only dependency ismalloc().Signed-off-by Ian Campbell <[email protected]>
Ping?
Quoted 18 lines
--- src/post.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)src/post.c +3
-0@@ -210,6 +210,9 @@ startBoot(void)static void maininit (void ) { +// Setup Xen hypercalls +xen_init_hypercalls (); +// Setup ivt/bda/ebda init_ivt ();init_bda ();
Signature · 3 lines
Ian Campbell Ego sum ens omnipotens.
Quoted 5 lines · Ian Campbell
Quoted 4 lines · Ian Campbell
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.
Quoted 7 lines
Quoted 5 lines
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). I put it first inmaininit()since the only dependency ismalloc().Signed-off-by Ian Campbell <[email protected]>Ping?
Sorry for the delay. I'm okay with the patch. If it doesn't need to be at the top of maininit though, I'd prefer to move it down a bit. How about after smm_init?
-Kevin
Quoted 10 lines · Kevin O'Connor
Quoted 9 lines · Ian Campbell
Quoted 8 lines · Ian Campbell
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). I put it first inmaininit()since the only dependency ismalloc().
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Ian Campbell <[email protected]>Ping?
Sorry for the delay. I'm okay with the patch. If it doesn't need to be at the top of maininit though, I'd prefer to move it down a bit. How about after
smm_init?
Sure, Works For Me.
8<-------------------------------------------------------------
Quoted 1 line
From
56ee604a43c2af652ffe4c2924e77175ecc693a3Mon Sep 17 00:00:00 2001
From: Ian Campbell <[email protected]>
Date: Wed, 13 Jul 2011 11:46:40 +0100
Subject: [PATCH] xen: actually setup hypercalls.
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).
--- src/post.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
src/post.c +3 -0
@@ -226,6 +226,9 @@ maininit(void)pci_setup ();smm_init (); +// Setup Xen hypercalls +xen_init_hypercalls (); +// Initialize internal tables boot_setup ();
Signature · 9 lines
1.7.2.5 -- Ian Campbell The last person that quit or was fired will be held responsible for everything that goes wrong -- until the next person quits or is fired.
Quoted 7 lines · Ian Campbell
Quoted 5 lines · Kevin O'Connor
Quoted 1 line · Ian Campbell
Ping?
Sorry for the delay. I'm okay with the patch. If it doesn't need to be at the top of maininit though, I'd prefer to move it down a bit. How about after
smm_init?Sure, Works For Me.
Thanks. I applied it.
-Kevin
Quoted 10 lines · Kevin O'Connor
Quoted 7 lines · Ian Campbell
Quoted 5 lines · Kevin O'Connor
Quoted 1 line · Ian Campbell
Ping?
Sorry for the delay. I'm okay with the patch. If it doesn't need to be at the top of maininit though, I'd prefer to move it down a bit. How about after
smm_init?Sure, Works For Me.
Thanks. I applied it.
Thank you.
Ian.
Signature · 4 lines
Ian Campbell All I can think of is a platter of organic PRUNE CRISPS being trampled by an army of swarthy, Italian LOUNGE SINGERS ...