On Mon, Dec 23, 2019 at 05:30:43PM +1100, David Gibson wrote:
> On Thu, Dec 19, 2019 at 01:38:54PM -0300, Maxiwell S. Garcia wrote:
> > The env->hflags is computed in ppc_cpu_reset(), using the MSR register
> > as input. But at the point ppc_disas_set_info() is called the MSR
The env->hflags is computed in ppc_cpu_reset(), using the MSR register
as input. But at the point ppc_disas_set_info() is called the MSR_LE bit
in env->hflags doesn't contain the same information that env->msr.
Signed-off-by: Maxiwell S. Garcia
Signed-off-by: Fabiano Rosas
-
_save handler and
do not re-reads the clock in case of paused state (cold migration).
Signed-off-by: Maxiwell S. Garcia
---
hw/i386/kvm/clock.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/hw/i386/kvm/clock.c b/hw/i386/kvm/clock.c
index 80c133a724..2c59b6
, like process stalls, could happen
after migration.
So, this patch checks the runstate of guest in the pre_save handler and
do not re-reads the timebase in case of paused state (cold migration).
Signed-off-by: Maxiwell S. Garcia
---
hw/ppc/ppc.c | 13 +
target/ppc/cpu-qom.h
On Tue, Jun 25, 2019 at 11:18:00AM +0100, Dr. David Alan Gilbert wrote:
> * Maxiwell S. Garcia (maxiw...@linux.ibm.com) wrote:
> > The GlobalState struct has two confusing fields:
> > - uint8_t runstate[100]
> > - RunState state
> >
> > The first field saves the &
es the 'runstate' to
'state_pre_migrate' and use the same type used by 'state' and
'current_run_state' variables.
Signed-off-by: Maxiwell S. Garcia
---
include/sysemu/sysemu.h | 2 +-
migration/global_state.c | 65 ++--
vl.c
On Thu, May 30, 2019 at 11:13:41AM +1000, David Gibson wrote:
> On Thu, May 23, 2019 at 05:18:51PM -0300, Maxiwell S. Garcia wrote:
> > On Thu, May 23, 2019 at 09:29:52AM +1000, David Gibson wrote:
> > > On Mon, May 20, 2019 at 05:43:40PM -0300, Maxiwell S. Garcia wrote:
> &
On Thu, May 23, 2019 at 09:29:52AM +1000, David Gibson wrote:
> On Mon, May 20, 2019 at 05:43:40PM -0300, Maxiwell S. Garcia wrote:
> > This handler was added in the commit:
> > 42043e4f1241: spapr: clock should count only if vm is running
> >
> > In a scenario witho
ects could happen after migration.
[1] http://lists.nongnu.org/archive/html/qemu-devel/2016-12/msg00610.html
Maxiwell S. Garcia (1):
spapr: Do not re-read the clock on pre_save handler on migration
hw/ppc/ppc.c | 24
1 file changed, 24 deletions(-)
--
2.20.1
27;
If the guest is running a workload like HTC, a side-effect of
this is a lot of process stall messages (with call traces) in
the kernel guest.
Signed-off-by: Maxiwell S. Garcia
---
hw/ppc/ppc.c | 24
1 file changed, 24 deletions(-)
diff --git a/hw/ppc/ppc.c b/hw/pp
Hi Greg,
Thanks for your review. I added some comments below...
On Fri, Mar 29, 2019 at 01:29:51PM +0100, Greg Kurz wrote:
> On Thu, 28 Mar 2019 15:39:45 -0300
> "Maxiwell S. Garcia" wrote:
>
> > Hi,
> >
> > On Thu, Mar 28, 2019 at 02:21:51PM +0100, Greg
Hi,
On Thu, Mar 28, 2019 at 02:21:51PM +0100, Greg Kurz wrote:
> On Wed, 27 Mar 2019 17:41:00 -0300
> "Maxiwell S. Garcia" wrote:
>
> > Here are two patches to add a handler for ibm,get-vpd RTAS calls.
> > This RTAS exposes host information in case of set QEM
rmation and the TM shows the host 'model' information.
Powerpc-utils tools can dispatch RTAS calls to retrieve host
information using this ibm,get-vpd interface. The 'host-serial'
and 'host-model' nodes of device-tree hold the same information but
in a static manner, wh
The pseries options 'host-serial' and 'host-model' accepts
'none', 'passthrough', or content. The helper
functions in this commit return a valid host field based on
user options.
Signed-off-by: Maxiwell S. Garcia
Reviewed-by: Gre
ost-model' parameters, guided by QEMU command line. These
parameters are useful to build the guest device tree and to return
get-vpd RTAS calls. The patch 2 adds the ibm,get-vpd itself.
Update v7:
* rtas_get_vpd_fields as a static array in spapr machine state
Maxiwell S. Garcia (2):
spapr: help
On Thu, Mar 14, 2019 at 06:26:02PM +0100, Greg Kurz wrote:
> On Thu, 14 Mar 2019 13:29:49 -0300
> "Maxiwell S. Garcia" wrote:
>
> > This adds a handler for ibm,get-vpd RTAS calls, allowing pseries guest
> > to collect host information. It is disabled by default to
ost-model' parameters, guided by QEMU command line. These
parameters are useful to build the guest device tree and to return
get-vpd RTAS calls. The patch 2 adds the ibm,get-vpd itself.
Update v6:
* Use macro to generate spapr_get_valid_host_* functions
* Add rtas_get_vpd_fields in spapr mach
rmation and the TM shows the host 'model' information.
Powerpc-utils tools can dispatch RTAS calls to retrieve host
information using this ibm,get-vpd interface. The 'host-serial'
and 'host-model' nodes of device-tree hold the same information but
in a static manner, wh
The pseries options 'host-serial' and 'host-model' accepts
'none', 'passthrough', or content. The helper
functions in this commit return a valid host field based on
user options.
Signed-off-by: Maxiwell S.
On Tue, Mar 12, 2019 at 11:52:24AM +0100, Greg Kurz wrote:
Hi Greg,
> On Mon, 11 Mar 2019 19:57:08 -0300
> "Maxiwell S. Garcia" wrote:
>
> > The pseries options 'host-serial' and 'host-model' accepts
> > 'none', 'passthrough
which is useless after a migration operation.
Signed-off-by: Maxiwell S. Garcia
---
hw/ppc/spapr_rtas.c| 110 +
include/hw/ppc/spapr.h | 12 -
2 files changed, 121 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr_rtas.c b/hw/ppc/spapr_rtas.c
ost-model' parameters, guided by QEMU command line. These
parameters are useful to build the guest device tree and to return
get-vpd RTAS calls. The patch 2 adds the ibm,get-vpd itself.
Maxiwell S. Garcia (2):
spapr: helper functions to get valid host fields
spapr-rtas: add ibm,get
The pseries options 'host-serial' and 'host-model' accepts
'none', 'passthrough', or content. The helper
functions in this commit return a valid host field based on
user options.
Signed-off-by: Maxiwell S.
Hi Murilo,
On Tue, Mar 05, 2019 at 04:39:38PM -0300, Murilo Opsfelder Araujo wrote:
> Hi, Maxiwell.
>
> On Thu, Feb 28, 2019 at 05:04:37PM -0300, Maxiwell S. Garcia wrote:
> > This adds a handler for ibm,get-vpd RTAS calls, allowing pseries guest
> > to collect host inform
which is useless after a migration operation.
Signed-off-by: Maxiwell S. Garcia
---
hw/ppc/spapr_rtas.c| 121 +
include/hw/ppc/spapr.h | 17 +-
2 files changed, 137 insertions(+), 1 deletion(-)
Update v4:
* Allows enable/disable host-serial a
which is useless after a migration operation.
Signed-off-by: Maxiwell S. Garcia
---
hw/ppc/spapr_rtas.c| 103 +
include/hw/ppc/spapr.h | 16 ++-
2 files changed, 118 insertions(+), 1 deletion(-)
Update v3:
* Use 'host-serial' and
On Tue, Feb 26, 2019 at 02:21:03PM +1100, David Gibson wrote:
> On Mon, Feb 25, 2019 at 08:20:09PM -0300, Murilo Opsfelder Araujo wrote:
> > Hi, Maxiwell.
> >
> > On Mon, Feb 25, 2019 at 01:23:25PM -0300, Maxiwell S. Garcia wrote:
> > > This adds a handler for ib
ss after a migration operation.
Signed-off-by: Maxiwell S. Garcia
---
hw/ppc/spapr.c | 21 ++
hw/ppc/spapr_rtas.c| 95 ++
include/hw/ppc/spapr.h | 17 +++-
3 files changed, 132 insertions(+), 1 deletion(-)
Update v2:
- rtas_ibm_get_vpd()
On Mon, Feb 25, 2019 at 04:11:53PM +1100, David Gibson wrote:
> On Sat, Feb 23, 2019 at 11:40:57AM -0300, Maxiwell S. Garcia wrote:
> > This adds a handler for ibm,get-vpd RTAS calls, allowing pseries
> > guest to collect host information. It is disabled by default to
>
ss after a migration operation.
Signed-off-by: Maxiwell S. Garcia
---
hw/ppc/spapr.c | 21 ++
hw/ppc/spapr_rtas.c| 93 ++
include/hw/ppc/spapr.h | 17 +++-
3 files changed, 130 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr.c b/
30 matches
Mail list logo