All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Woodhouse, David" <dwmw@amazon.co.uk>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Cc: "jmattson@google.com" <jmattson@google.com>,
	"wanpengli@tencent.com" <wanpengli@tencent.com>,
	"seanjc@google.com" <seanjc@google.com>,
	"vkuznets@redhat.com" <vkuznets@redhat.com>,
	"mtosatti@redhat.com" <mtosatti@redhat.com>,
	"joro@8bytes.org" <joro@8bytes.org>
Subject: Re: [PATCH] KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU
Date: Mon, 25 Oct 2021 13:43:55 +0200	[thread overview]
Message-ID: <e5db0fcc-f4a0-b12a-d75e-5f9c4f746126@redhat.com> (raw)
In-Reply-To: <3d2a13164cbc61142b16edba85960db9a381bebe.camel@amazon.co.uk>

On 23/10/21 21:47, Woodhouse, David wrote:
>   	BUILD_BUG_ON(sizeof(((struct vcpu_runstate_info *)0)->state) !=
>   		     sizeof(vx->current_runstate));
>   	BUILD_BUG_ON(sizeof(((struct compat_vcpu_runstate_info *)0)->state) !=
>   		     sizeof(vx->current_runstate));

We can also use sizeof_field here, while you're at it (separate patch, 
though).

Paolo


  parent reply	other threads:[~2021-10-25 11:44 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-23 19:47 [PATCH] KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU Woodhouse, David
2021-10-24 11:15 ` David Woodhouse
2021-10-25 10:23 ` Paolo Bonzini
2021-10-25 10:39   ` [EXTERNAL] " David Woodhouse
2021-10-25 12:12     ` Paolo Bonzini
2021-10-25 12:19     ` David Woodhouse
2021-10-25 12:22       ` Paolo Bonzini
2021-10-25 13:13         ` David Woodhouse
2021-10-29 10:48           ` David Woodhouse
2021-10-30  7:58         ` David Woodhouse
2021-10-31  6:52           ` Paolo Bonzini
2021-10-31  7:51             ` David Woodhouse
2021-10-31  8:31             ` David Woodhouse
2021-11-01  8:16               ` David Woodhouse
2021-11-01 14:18                 ` [PATCH 5/6] KVM: x86/xen: Maintain valid mapping of Xen shared_inf= kernel test robot
2021-11-01 14:18                   ` kernel test robot
2021-11-01 20:35                 ` kernel test robot
2021-11-01 20:35                   ` kernel test robot
2021-11-01 20:43                   ` David Woodhouse
2021-11-01 20:43                     ` David Woodhouse
2021-10-28 22:22       ` [EXTERNAL] [PATCH] KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU David Woodhouse
2021-10-29 11:31         ` Joao Martins
2021-10-29 11:56           ` David Woodhouse
2021-10-29 17:10             ` David Woodhouse
2021-10-25 11:43 ` Paolo Bonzini [this message]
2021-10-25 13:30   ` Woodhouse, David
2021-10-25 13:29 ` [PATCH v2] " David Woodhouse
2022-02-09 14:30   ` David Woodhouse

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=e5db0fcc-f4a0-b12a-d75e-5f9c4f746126@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=dwmw@amazon.co.uk \
    --cc=jmattson@google.com \
    --cc=joro@8bytes.org \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=seanjc@google.com \
    --cc=vkuznets@redhat.com \
    --cc=wanpengli@tencent.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.