From: kazushi takahashi <w1ndoz@triton.ocn.ne.jp>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Question about IDE TRIM Command
Date: Thu, 2 Feb 2012 22:20:40 +0900 [thread overview]
Message-ID: <CAMQKM2_qL_d1Ltmk5rerc4jFB59kAZrsswhiWJL=bcOCAoeyDA@mail.gmail.com> (raw)
Hi all
I have a question about IDE TRIM Command.
As you know, QEMU have supported TRIM command since QEMU 0.15.0.
Some QEMU disk images such as qcow2 support bdrv_discard function
which will be called when guest OS executes ATA TRIM command.
So, I think qcow2 image has a function to delete the disk pages which are
recognized as discarded by guest OS.
I think that to enable TRIM Command, we have to emulate guest HDD as
Solid State Drive. However, it seems QEMU does not emulate guest
HDD as Solid State Drive. Thus, I think that bdrv_discard functions in
qemu images are never called by guest OS.
Is my thinking correct?
Thanks,
Kazushi Takahashi
next reply other threads:[~2012-02-02 13:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-02 13:20 kazushi takahashi [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-02-02 11:55 [Qemu-devel] Question about IDE TRIM Command kazushi takahashi
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='CAMQKM2_qL_d1Ltmk5rerc4jFB59kAZrsswhiWJL=bcOCAoeyDA@mail.gmail.com' \
--to=w1ndoz@triton.ocn.ne.jp \
--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).