* Re: [PATCH v2.0 5/6] Handler m2p table and frametable fault in pagefault handler
@ 2009-07-09 11:06 Jan Beulich
2009-07-10 1:43 ` Jiang, Yunhong
0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2009-07-09 11:06 UTC (permalink / raw)
To: keir.fraser, yunhong.jiang; +Cc: xen-devel
>>> "Jiang, Yunhong" <yunhong.jiang@intel.com> 07/08/09 9:44 AM >>>
>+int pagefault_by_memadd(unsigned long addr, struct cpu_user_regs *regs)
>+{
>+ if ( guest_mode(regs) )
>+ {
>+ if ( ((addr >= RO_MPT_VIRT_START) && (addr < RO_MPT_VIRT_END)) )
>+ return 1;
>+ }
>+ else
>+ {
>+ if ( (addr >= RO_MPT_VIRT_START) && (addr < RDWR_MPT_VIRT_END) )
RDWR_...?
Jan
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [PATCH v2.0 5/6] Handler m2p table and frametable fault in pagefault handler
2009-07-09 11:06 [PATCH v2.0 5/6] Handler m2p table and frametable fault in pagefault handler Jan Beulich
@ 2009-07-10 1:43 ` Jiang, Yunhong
0 siblings, 0 replies; 2+ messages in thread
From: Jiang, Yunhong @ 2009-07-10 1:43 UTC (permalink / raw)
To: Jan Beulich, keir.fraser; +Cc: xen-devel
Yes, it should be RDWR.
--jyh
Jan Beulich wrote:
>>>> "Jiang, Yunhong" <yunhong.jiang@intel.com> 07/08/09 9:44 AM >>>
>> +int pagefault_by_memadd(unsigned long addr, struct cpu_user_regs
>> *regs) +{ + if ( guest_mode(regs) )
>> + {
>> + if ( ((addr >= RO_MPT_VIRT_START) && (addr <
>> RO_MPT_VIRT_END)) ) + return 1; + }
>> + else
>> + {
>> + if ( (addr >= RO_MPT_VIRT_START) && (addr <
>> RDWR_MPT_VIRT_END) )
>
> RDWR_...?
>
> Jan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-10 1:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-09 11:06 [PATCH v2.0 5/6] Handler m2p table and frametable fault in pagefault handler Jan Beulich
2009-07-10 1:43 ` Jiang, Yunhong
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.