|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH]Fix the bug of guest os	installationfailure and w
 
On 17/3/08 11:16, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx> wrote:
>> I think you misunderstand. The shadow emulator *never* emulates I/O
>> port accesses or exception deliveries. Those callback functions are
>> simply not implemented and are left as NULL.
> Those callback functions -- what are they? -- do you mean the following?
> static struct x86_emulate_ops hvm_emulate_ops = {
>     ....
>     .read_io       = hvmemul_read_io,
>     .write_io      = hvmemul_write_io,
> ...
> };
Yes indeed. Also, crucially, .inject_hw_exception. Without that
x86_emulate() is unable to inject any exception into the guest, and will
instead return X86EMUL_UNHANDLEABLE.
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] [PATCH]Fix the bug of guest os installation failure and	win2k boot failure, Xu, Dongxiao
- Re: [Xen-devel] [PATCH]Fix the bug of guest os installation	failure and win2k boot failure, Keir Fraser
- RE: [Xen-devel] [PATCH]Fix the bug of guest os installation failure	and win2k boot failure, Xu, Dongxiao
- Re: [Xen-devel] [PATCH]Fix the bug of guest os installation	failure and win2k boot failure, Keir Fraser
 - RE: [Xen-devel] [PATCH]Fix the bug of guest os installationfailure	and win2k boot failure, Cui, Dexuan
 - Re: [Xen-devel] [PATCH]Fix the bug of guest os	installationfailure and win2k boot failure,
Keir Fraser <=
 - RE: [Xen-devel] [PATCH]Fix the bug of guest os installationfailure	and win2k boot failure, Xu, Dongxiao
 - Re: [Xen-devel] [PATCH]Fix the bug of guest os	installationfailure and win2k boot failure, Keir Fraser
 - RE: [Xen-devel] [PATCH]Fix the bug of guest os installationfailure	and win2k boot failure, Xu, Dongxiao
 - Re: [Xen-devel] [PATCH]Fix the bug of guest os	installationfailure and win2k boot failure, Keir Fraser
 - RE: [Xen-devel] [PATCH]Fix the bug of guest os installationfailure	and win2k boot failure, Xu, Dongxiao
 - Re: [Xen-devel] [PATCH]Fix the bug of guest os	installationfailure and win2k boot failure, Keir Fraser
 
  
- Re: [Xen-devel] [PATCH]Fix the bug of guest os	installationfailure and win2k boot failure, Keir Fraser
 
  
  
 
 |  
  
 | 
    | 
  
  
    |   | 
    |