qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: "Denis V. Lunev" <den@openvz.org>
Cc: Kevin Wolf <kwolf@redhat.com>,
	Christian Borntraeger <borntraeger@de.ibm.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/1] block: fix inability to start VM with native AIO
Date: Mon, 8 Feb 2016 14:49:28 +0000	[thread overview]
Message-ID: <20160208144928.GA31586@stefanha-x1.localdomain> (raw)
In-Reply-To: <5693BB8B.2040909@openvz.org>

[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]

On Mon, Jan 11, 2016 at 05:26:19PM +0300, Denis V. Lunev wrote:
> On 01/11/2016 04:46 PM, Christian Borntraeger wrote:
> >On 12/22/2015 07:59 AM, Denis V. Lunev wrote:
> >>error: Failed to start domain rhel7
> >>error: internal error: process exited while connecting to monitor:
> >>     2015-12-22T06:55:18.812637Z qemu-system-x86_64:
> >>     -drive file=/var/lib/libvirt/images/rhel7.qcow2,if=none,
> >>         id=drive-scsi0-0-0-0,format=qcow2,cache=none,aio=native:
> >>     aio=native was specified, but it requires cache.direct=on,
> >>     which was not specified.
> >>
> >>cache=none option was specified as seen above while the VM is unable to
> >>start. The patch properly passed BDRV_O_NOCACHE to underlying layer.
> >>
> >>The problem is revealed with
> >>     commit d657c0c289e944fc22289f5c318f48da87d79dcb
> >>     Author: Kevin Wolf <kwolf@redhat.com>
> >>     Date:   Tue Dec 15 11:35:36 2015 +0100
> >>
> >>         raw-posix: Make aio=native option binding
> >>
> >>Signed-off-by: Denis V. Lunev <den@openvz.org>
> >>CC: Kevin Wolf <kwolf@redhat.com>
> >Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
> >
> >Without this patch all libvirt xmls with
> >cache='none' io='native'
> >are broken. We should apply this patch (or something else)
> >soon.
> >
> exactly!

For the record, the bug has been fixed.  I went back and bisected:

Kevin Wolf fixed the issue in "block: Fix .bdrv_open flags"
(82dc8b411040fa8a7418a012ff39b8d06f68e639).

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

      reply	other threads:[~2016-02-08 14:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22  6:59 [Qemu-devel] [PATCH 1/1] block: fix inability to start VM with native AIO Denis V. Lunev
2015-12-23  8:07 ` Stefan Hajnoczi
2015-12-23  8:08 ` Stefan Hajnoczi
2016-01-08 12:25 ` Denis V. Lunev
2016-01-11 13:46 ` Christian Borntraeger
2016-01-11 14:26   ` Denis V. Lunev
2016-02-08 14:49     ` Stefan Hajnoczi [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=20160208144928.GA31586@stefanha-x1.localdomain \
    --to=stefanha@gmail.com \
    --cc=borntraeger@de.ibm.com \
    --cc=den@openvz.org \
    --cc=kwolf@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).