diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-07 08:05:36 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-01-30 06:50:13 -0500 |
commit | 5e232f4f428c4266ba5cdae9f23ba19a0913dcf9 (patch) | |
tree | 591e21cb88959373e495eac7eb8ee2c2865771ae /drivers/lguest/lg.h | |
parent | 4665ac8e28c30c2a015c617c55783c0bf3a49c05 (diff) |
lguest: make pending notifications per-vcpu
this patch makes the pending_notify field, used to control
pending notifications, per-vcpu, instead of per-guest
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest/lg.h')
-rw-r--r-- | drivers/lguest/lg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/lguest/lg.h b/drivers/lguest/lg.h index 05637648a174..95b473cdd0e0 100644 --- a/drivers/lguest/lg.h +++ b/drivers/lguest/lg.h | |||
@@ -51,6 +51,8 @@ struct lg_cpu { | |||
51 | u32 esp1; | 51 | u32 esp1; |
52 | u8 ss1; | 52 | u8 ss1; |
53 | 53 | ||
54 | unsigned long pending_notify; /* pfn from LHCALL_NOTIFY */ | ||
55 | |||
54 | /* At end of a page shared mapped over lguest_pages in guest. */ | 56 | /* At end of a page shared mapped over lguest_pages in guest. */ |
55 | unsigned long regs_page; | 57 | unsigned long regs_page; |
56 | struct lguest_regs *regs; | 58 | struct lguest_regs *regs; |
@@ -95,7 +97,6 @@ struct lguest | |||
95 | struct pgdir pgdirs[4]; | 97 | struct pgdir pgdirs[4]; |
96 | 98 | ||
97 | unsigned long noirq_start, noirq_end; | 99 | unsigned long noirq_start, noirq_end; |
98 | unsigned long pending_notify; /* pfn from LHCALL_NOTIFY */ | ||
99 | 100 | ||
100 | unsigned int stack_pages; | 101 | unsigned int stack_pages; |
101 | u32 tsc_khz; | 102 | u32 tsc_khz; |