[Qemu-discuss] how to use ivshmem

2016-07-16 Thread Yuxin Ren
Hi all, How can I use ivshmem in qemu? I run the following command qemu-system-i386 -device ivshmem, shm=ivshmem size=1 linux-0.2.img but I got such error: qemu-system-i386: -device ivshmem,: could not open disk image shm=ivshmem: Could not open 'shm=ivshmem': No such file or directory How to

[Qemu-discuss] qemu kvm problem

2016-07-18 Thread Yuxin Ren
Hi all, When I start qemu, I got such error message ''' Could not access KVM kernel module: No such file or directory failed to initialize KVM: No such file or directory Back to tcg accelerator. ''' Does anyone know how to solve this problem? Thanks a lot!! Yuxin

Re: [Qemu-discuss] qemu kvm problem

2016-07-18 Thread Yuxin Ren
of: > > ls -l /dev/kvm > > If you don't see anything or it throws an error, then you're missing the > kernel module. > > On Mon, Jul 18, 2016 at 11:36 AM, Yuxin Ren wrote: >> >> Hi all, >> >> When I start qemu, I got such error message >&

[Qemu-discuss] can cache flush cause vm exit?

2016-07-28 Thread Yuxin Ren
Hi all, If I run a cache flush instruction (CLFLUSH) inside qemu/kvm, can it cause vm exit? Thanks. Yuxin

[Qemu-discuss] how to enable ept in qemu

2016-08-22 Thread Yuxin Ren
Hi all, How can I enable ept (extend page table) in qemu? Do I need to pass some option or some special configuration? Thanks Yuxin

[Qemu-discuss] how to monitor vm exit

2016-09-01 Thread Yuxin Ren
Hi All, I have two questions. 1. How can I track how many vm exit happens during vm execution using KVM under Ubuntu? 2. How can I config KVM to enable/disable conditional vm exiting. For example, how can I disable WBINVD exiting? Thanks a lot Yuxin

[Qemu-discuss] page table switch performance in qemu

2016-10-05 Thread Yuxin Ren
Hi all, I found page table switch is more expensive in kvm/qemu than on bare-metal. Does anyone have idea how to improve the page table switch performance? Or do I need some special set up for qemu/kvm? Thanks Yuxinq

Re: [Qemu-discuss] page table switch performance in qemu

2016-10-06 Thread Yuxin Ren
a 300 cycles come from? Thanks a lot!! Yuxin On Thu, Oct 6, 2016 at 7:11 AM, Jakob Bohm wrote: > On 05/10/2016 21:24, Yuxin Ren wrote: >> >> I found page table switch is more expensive in kvm/qemu than on >> bare-metal. >> Does anyone have idea how to improve the page tabl

[Qemu-discuss] page table access/dirty bit and TLB

2016-10-14 Thread Yuxin Ren
Hi all, I found in qemu/kvm, the page table entry access/dirty bit will not be set if I have a TLB hit for that page. Is this qemu/kvm implementation? Or does Intel actually this? Thanks a lot! Yuxin