[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] about I/O
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] about I/O |
Date: |
Thu, 7 Jan 2016 13:05:25 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Tue, Dec 29, 2015 at 03:36:07PM +0800, 浩樊啊 wrote:
> qemu use paio or libaio finish I/O reqeusts,does that mean that when a sync
> request comes from a vm becomes async request in the host?
Yes, although storage controllers (virtio-blk, SCSI, SATA, and even IDE
in DMA mode) are asynchronous at the hardware interface level. That
means the guest OS submits an I/O request to the device and the guest
CPU continues running until the I/O completion interrupt occurs.
The exceptions are old hardware interfaces like some of the SD Card
controllers or maybe floppy where a single hardware register read/write
actually involves synchronous I/O (the guest cannot execute CPU
instructions while the I/O request is happening).
Stefan
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] about I/O,
Stefan Hajnoczi <=