From: Kevin Wolf <kwolf@redhat.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2 3/3] dataplane: handle misaligned virtio-blk requests
Date: Fri, 11 Jan 2013 16:50:03 +0100 [thread overview]
Message-ID: <50F034AB.6070507@redhat.com> (raw)
In-Reply-To: <20130111144046.GB2310@stefanha-thinkpad.muc.redhat.com>
Am 11.01.2013 15:40, schrieb Stefan Hajnoczi:
> On Fri, Jan 11, 2013 at 02:28:17PM +0100, Paolo Bonzini wrote:
>> Il 11/01/2013 13:34, Stefan Hajnoczi ha scritto:
>>> + iov = &bounce_iov;
>>> + iov_cnt = 1;
>>> +
>>> + if (read) {
>>> + /* Need to copy back from bounce buffer on completion */
>>> + read_qiov = g_slice_new(QEMUIOVector);
>>> + qemu_iovec_init(read_qiov, iov_cnt);
>>> + qemu_iovec_concat_iov(read_qiov, iov, iov_cnt, 0, qiov.size);
>>
>> This is still wrong, how did you test it?
>
> I sent it before reading the reviews from you and Kevin. Bizarrely
> Windows saw the files I copied to the disk - even across reboot (no
> buffer cache involved?). Or is Windows 8 doing tricks like "shutdown"
> is actually "suspend to disk"?
As far as I know this is exactly what it's doing. I've seen warnings
that you shouldn't mount file systems of a dual-boot Windows 8 if you
didn't change its options so that it really shuts down.
Kevin
prev parent reply other threads:[~2013-01-11 15:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-11 12:34 [Qemu-devel] [PATCH v2 0/3] dataplane: misaligned buffers support for Windows guests Stefan Hajnoczi
2013-01-11 12:34 ` [Qemu-devel] [PATCH v2 1/3] block: make qiov_is_aligned() public Stefan Hajnoczi
2013-01-11 12:34 ` [Qemu-devel] [PATCH v2 2/3] dataplane: extract virtio-blk read/write processing into do_rdwr_cmd() Stefan Hajnoczi
2013-01-11 12:34 ` [Qemu-devel] [PATCH v2 3/3] dataplane: handle misaligned virtio-blk requests Stefan Hajnoczi
2013-01-11 13:28 ` Paolo Bonzini
2013-01-11 14:40 ` Stefan Hajnoczi
2013-01-11 15:50 ` Kevin Wolf [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=50F034AB.6070507@redhat.com \
--to=kwolf@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@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.