Re: [Qemu-devel] [PATCH v12 2/4] sPAPR: Implement EEH RTAS calls

2014-07-15 Thread Alexey Kardashevskiy
On 07/16/2014 11:12 AM, Gavin Shan wrote: > On Wed, Jul 16, 2014 at 11:06:21AM +1000, Alexey Kardashevskiy wrote: >> On 07/16/2014 10:20 AM, Gavin Shan wrote: >>> The emulation for EEH RTAS requests from guest isn't covered >>> by QEMU yet and the patch implements them. >>> >>> The patch defines co

Re: [Qemu-devel] [PATCH v12 2/4] sPAPR: Implement EEH RTAS calls

2014-07-15 Thread Gavin Shan
On Wed, Jul 16, 2014 at 11:06:21AM +1000, Alexey Kardashevskiy wrote: >On 07/16/2014 10:20 AM, Gavin Shan wrote: >> The emulation for EEH RTAS requests from guest isn't covered >> by QEMU yet and the patch implements them. >> >> The patch defines constants used by EEH RTAS calls and adds >> callba

Re: [Qemu-devel] [PATCH v12 2/4] sPAPR: Implement EEH RTAS calls

2014-07-15 Thread Alexey Kardashevskiy
On 07/16/2014 10:20 AM, Gavin Shan wrote: > The emulation for EEH RTAS requests from guest isn't covered > by QEMU yet and the patch implements them. > > The patch defines constants used by EEH RTAS calls and adds > callback sPAPRPHBClass::eeh_handler, which is going to be used > this way: > >

[Qemu-devel] [PATCH v12 2/4] sPAPR: Implement EEH RTAS calls

2014-07-15 Thread Gavin Shan
The emulation for EEH RTAS requests from guest isn't covered by QEMU yet and the patch implements them. The patch defines constants used by EEH RTAS calls and adds callback sPAPRPHBClass::eeh_handler, which is going to be used this way: * RTAS calls are received in spapr_pci.c, sanity check is