qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 3/3] dataplane: handle misaligned virtio-blk


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v2 3/3] dataplane: handle misaligned virtio-blk requests
Date: Fri, 11 Jan 2013 16:50:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]