Re: [Qemu-devel] Disk I/O in QEMU

2014-03-12 Thread Le Tan
I am sorry I didn't give the complete command I have executed. It is like this: qemu-system-x86_64 -m 1024 -smp 2 -hda /home/tanle/study/new.img -nographic -vnc 192.168.146.118:2 -enable-kvm If I delete the "-enable-kvm", it is ok and the system can boot up (just slow). But with "-enable-kvm", the

Re: [Qemu-devel] Disk I/O in QEMU

2014-03-12 Thread Fam Zheng
On Wed, 03/12 20:27, Le Tan wrote: > Hi Stefan, > Thanks for your help. I find that the source code of qemu-1.2.0 doesn't > have hw/block/. So I download the qemu-1.6.2. However it doesn't work. I > run the configure like this: > ./configure --enable-kvm --x86_64-softmmu > then make and make instal

Re: [Qemu-devel] Disk I/O in QEMU

2014-03-12 Thread Le Tan
Hi Stefan, Thanks for your help. I find that the source code of qemu-1.2.0 doesn't have hw/block/. So I download the qemu-1.6.2. However it doesn't work. I run the configure like this: ./configure --enable-kvm --x86_64-softmmu then make and make install. I can start the vm using this command: qemu-

Re: [Qemu-devel] Disk I/O in QEMU

2014-03-11 Thread Stefan Hajnoczi
On Tue, Mar 11, 2014 at 03:08:52PM +0800, Le Tan wrote: > Hi, I am now studying the disk I/O in QEMU, but I know little about QEMU. I > want to know how QEMU implements or emulates the disk I/O? Where to find > some materials about this? And if I can get all the disk I/O request from > the guest in

[Qemu-devel] Disk I/O in QEMU

2014-03-11 Thread Le Tan
Hi, I am now studying the disk I/O in QEMU, but I know little about QEMU. I want to know how QEMU implements or emulates the disk I/O? Where to find some materials about this? And if I can get all the disk I/O request from the guest in QEMU? Thanks!