Re: [Qemu-devel] [PATCH v2 0/2] ide: convert pio code path to asynchronous I/O

2012-04-18 Thread Kevin Wolf
Am 29.03.2012 11:31, schrieb Stefan Hajnoczi: > IDE PIO mode is currently implemented using synchronous I/O functions. > There's > no need to do this because the IDE interface is actually designed with polling > and interrupts in mind - we can do asynchronous I/O and let the guest know > when >

Re: [Qemu-devel] [PATCH v2 0/2] ide: convert pio code path to asynchronous I/O

2012-04-18 Thread Zhi Yong Wu
On Thu, Mar 29, 2012 at 5:31 PM, Stefan Hajnoczi wrote: > IDE PIO mode is currently implemented using synchronous I/O functions.   > There's > no need to do this because the IDE interface is actually designed with polling > and interrupts in mind - we can do asynchronous I/O and let the guest know

Re: [Qemu-devel] [PATCH v2 0/2] ide: convert pio code path to asynchronous I/O

2012-04-18 Thread Zhi Yong Wu
On Thu, Mar 29, 2012 at 5:31 PM, Stefan Hajnoczi wrote: > IDE PIO mode is currently implemented using synchronous I/O functions.   > There's > no need to do this because the IDE interface is actually designed with polling > and interrupts in mind - we can do asynchronous I/O and let the guest know

Re: [Qemu-devel] [PATCH v2 0/2] ide: convert pio code path to asynchronous I/O

2012-04-18 Thread Paolo Bonzini
Il 29/03/2012 11:31, Stefan Hajnoczi ha scritto: > IDE PIO mode is currently implemented using synchronous I/O functions. > There's > no need to do this because the IDE interface is actually designed with polling > and interrupts in mind - we can do asynchronous I/O and let the guest know > when

Re: [Qemu-devel] [PATCH v2 0/2] ide: convert pio code path to asynchronous I/O

2012-04-18 Thread Richard Davies
Stefan Hajnoczi wrote: > > Chris and Richard: Please test this to confirm that it fixes the hang you > > reported. ... > Ping? We never explicitly said, but yes v2 does fix the hang for us, like v1 did. We are certainly +1 for this going into qemu 1.1. Thanks, Richard.

Re: [Qemu-devel] [PATCH v2 0/2] ide: convert pio code path to asynchronous I/O

2012-04-18 Thread Stefan Hajnoczi
On Thu, Mar 29, 2012 at 10:31 AM, Stefan Hajnoczi wrote: > IDE PIO mode is currently implemented using synchronous I/O functions.   > There's > no need to do this because the IDE interface is actually designed with polling > and interrupts in mind - we can do asynchronous I/O and let the guest kno

[Qemu-devel] [PATCH v2 0/2] ide: convert pio code path to asynchronous I/O

2012-03-29 Thread Stefan Hajnoczi
IDE PIO mode is currently implemented using synchronous I/O functions. There's no need to do this because the IDE interface is actually designed with polling and interrupts in mind - we can do asynchronous I/O and let the guest know when the operation has completed. The benefit of asynchronous I/