qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: kraxel@redhat.com, qemu-devel@nongnu.org, hch@lst.de
Subject: [Qemu-devel] Re: [PATCH] qdev: fix thinko leading to guest crashes
Date: Tue, 12 Jan 2010 13:35:40 -0600	[thread overview]
Message-ID: <4B4CCF0C.8000407@codemonkey.ws> (raw)
In-Reply-To: <20100112191659.GA3258@redhat.com>

On 01/12/2010 01:16 PM, Michael S. Tsirkin wrote:
> Without this fix, guest crashes with drive=virtio.
>
> Signed-off-by: Michael S. Tsirkin<mst@redhat.com>
>    

Applied.  Thanks.

Regards,

Anthony Liguori
> ---
>
> Anthony, could you please apply this patch quickly?
> It's an obvious one and it fixes guest crashes.
> Also, sorry about missing this in my testing.
>
>   hw/qdev-properties.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/hw/qdev-properties.c b/hw/qdev-properties.c
> index 9e123ae..277ff9e 100644
> --- a/hw/qdev-properties.c
> +++ b/hw/qdev-properties.c
> @@ -20,7 +20,7 @@ static void bit_prop_set(DeviceState *dev, Property *props, bool val)
>       uint32_t *p = qdev_get_prop_ptr(dev, props);
>       uint32_t mask = qdev_get_prop_mask(props);
>       if (val)
> -        *p |= ~mask;
> +        *p |= mask;
>       else
>           *p&= ~mask;
>   }
>    

      reply	other threads:[~2010-01-12 19:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-12 19:16 [Qemu-devel] [PATCH] qdev: fix thinko leading to guest crashes Michael S. Tsirkin
2010-01-12 19:35 ` Anthony Liguori [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=4B4CCF0C.8000407@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=hch@lst.de \
    --cc=kraxel@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).