Re: [Qemu-devel] [PATCH v17 1/2] sPAPR: Implement EEH RTAS calls

2015-02-11 Thread Gavin Shan
On Thu, Feb 12, 2015 at 04:15:01PM +1100, David Gibson wrote: >On Wed, Feb 11, 2015 at 02:13:59PM +1100, 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

Re: [Qemu-devel] [PATCH v17 1/2] sPAPR: Implement EEH RTAS calls

2015-02-11 Thread David Gibson
On Wed, Feb 11, 2015 at 02:13:59PM +1100, 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 > callbacks sPAPRPHBClass::{eeh_set_option, eeh_get_state, eeh_res

[Qemu-devel] [PATCH v17 1/2] sPAPR: Implement EEH RTAS calls

2015-02-10 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 callbacks sPAPRPHBClass::{eeh_set_option, eeh_get_state, eeh_reset, eeh_configure}, which are going to be used as follows: * RTAS c