All of lore.kernel.org
 help / color / mirror / Atom feed
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: Tue, 23 Jul 2013 08:34:49 +0200	[thread overview]
Message-ID: <51EE2409.7030501@redhat.com> (raw)
In-Reply-To: <5D9ACBBCF6B270468D615C4719A59BE363DFE97F@szxeml548-mbx.china.huawei.com>

Il 23/07/2013 03:05, Libaiqing ha scritto:
> Hi paolo,
>     Recently I test trim function,and it works well in linux guest with ext4 fs.
> 
>     How to test it in windows guest? I got some info like this: 
>       1 windows7 can send discard command when the storage device is ssd;
>       2 find a tool like 'fstrim', 'TRIM' the volume manually.

I think it only works with IDE and AHCI on Windows.  You need a filter
driver to send it on SCSI disks.

Paolo

  reply	other threads:[~2013-07-23  6:35 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 [this message]
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

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=51EE2409.7030501@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.