From: Paolo Bonzini <pbonzini@redhat.com>
To: Libaiqing <libaiqing@huawei.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] trim in windows guest witch virtio
Date: Wed, 24 Jul 2013 09:57:49 +0200 [thread overview]
Message-ID: <51EF88FD.4040603@redhat.com> (raw)
In-Reply-To: <5D9ACBBCF6B270468D615C4719A59BE363DFFACD@szxeml548-mbx.china.huawei.com>
Il 24/07/2013 09:52, Libaiqing ha scritto:
> Hi paolo,
> With -M pc,trim works well in windows guest with ide device and ahci bus.
>
> About the filter driver,you mean do something in windows virtio-scsi driver,let it send unmap command to qemu?
Yes, it must trap the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES ioctl and
convert it to a SCSI UNMAP command. But your link may suggest that it's
only needed on Windows < 8 (and Server < 2012).
Paolo
> Thanks
> baiqing.
prev parent reply other threads:[~2013-07-24 7:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-23 1:05 [Qemu-devel] trim in windows guest witch virtio Libaiqing
2013-07-23 6:34 ` Paolo Bonzini
2013-07-24 0:53 ` Libaiqing
2013-07-24 6:45 ` Paolo Bonzini
2013-07-24 7:52 ` Libaiqing
2013-07-24 7:57 ` Paolo Bonzini [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=51EF88FD.4040603@redhat.com \
--to=pbonzini@redhat.com \
--cc=libaiqing@huawei.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 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.