All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: kvm-devel <kvm@vger.kernel.org>, Gleb Natapov <gleb@redhat.com>
Subject: Re: [uq/master qemu PATCH] fix steal time MSR vmsd callback to proper opaque type
Date: Thu, 12 Sep 2013 18:30:44 +0200	[thread overview]
Message-ID: <5231EC34.40102@redhat.com> (raw)
In-Reply-To: <20130903215516.GA15661@amt.cnet>

Il 03/09/2013 23:55, Marcelo Tosatti ha scritto:
> 
> Convert steal time MSR vmsd callback pointer to proper X86CPU type.
> 
> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
> 
> diff --git a/target-i386/machine.c b/target-i386/machine.c
> index dc81cde..e568da2 100644
> --- a/target-i386/machine.c
> +++ b/target-i386/machine.c
> @@ -330,9 +330,9 @@ static bool pv_eoi_msr_needed(void *opaque)
>  
>  static bool steal_time_msr_needed(void *opaque)
>  {
> -    CPUX86State *cpu = opaque;
> +    X86CPU *cpu = opaque;
>  
> -    return cpu->steal_time_msr != 0;
> +    return cpu->env.steal_time_msr != 0;
>  }
>  
>  static const VMStateDescription vmstate_steal_time_msr = {
> @@ -341,7 +341,7 @@ static const VMStateDescription vmstate_steal_time_msr = {
>      .minimum_version_id = 1,
>      .minimum_version_id_old = 1,
>      .fields      = (VMStateField []) {
> -        VMSTATE_UINT64(steal_time_msr, CPUX86State),
> +        VMSTATE_UINT64(env.steal_time_msr, X86CPU),
>          VMSTATE_END_OF_LIST()
>      }
>  };
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

Applied to uq/master, thanks.

      reply	other threads:[~2013-09-12 16:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03 21:55 [uq/master qemu PATCH] fix steal time MSR vmsd callback to proper opaque type Marcelo Tosatti
2013-09-12 16:30 ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5231EC34.40102@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.