Re: [Qemu-discuss] newbie question: how to connect to a running guest with qemu monitor

2018-05-30 Thread Han Han
virsh qemu-monitor-command is the answer. You can use it by following: For qmp command: # virsh qemu-monitor-command $VM_NAME $QMP_COMMAND For hmp commmand: # virsh qemu-monitor-command --hmp $VM_NAME $HMP_COMMAND On Thu, May 31, 2018 at 2:28 AM, Jakob Bohm wrote: > On 29/05/2018 21:15, Lentes,

[Qemu-discuss] Recording I/O activity after KVM does a VMEXIT

2018-05-30 Thread Arnabjyoti Kalita
Hello all, I am trying to implement a 'minimal' record-replay mechanism for KVM, which is similar to the one existing for TCG via -icount. I am trying to record I/O events only (specifically disk and network events) when KVM does a VMEXIT. This has led me to the function kvm_cpu_exec where I can c

[Qemu-discuss] Keyboard not working correctly in spanish from spain in Europe and Altgr not working at all

2018-05-30 Thread José Antonio López
Hi, I think that two versions of file "es" in the keymap section are needed. I suposse that in southamerica keyboard layout is not equal to the spain (in Europe) layout. It is easy to solve because the version of this file in last december was working well in Spain (europe). Maybe two versions a

Re: [Qemu-discuss] newbie question: how to connect to a running guest with qemu monitor

2018-05-30 Thread Jakob Bohm
On 29/05/2018 21:15, Lentes, Bernd wrote: Hi, sorry for asking this propable silly question, but i googled and didn't find an appropriate answer. I have a SLES 12 SP3 host with a SLES 10 SP4 guest and some windows 7 guests. I'd like to connect to both os when they are running.. The command-lin

Re: [Qemu-discuss] newbie question: how to connect to a running guest with qemu monitor

2018-05-30 Thread Lentes, Bernd
- On May 30, 2018, at 12:04 PM, Han Han h...@redhat.com wrote: > I find your vnc of VM is open. If there is GUI in your host, you can try > virt-viewer on this host: > $ sudo virt-viewer mausdb2 > Or remote-viewer: > $ remote-viewer vnc://localhost:0 Hi Han, isn't there a way to use the q

Re: [Qemu-discuss] qemu-img info actual size member

2018-05-30 Thread Han Han
Well, it will return "the size reserved on disk" refer to its man page. You can use --output json to get the actual-size: # qemu-img info /var/lib/libvirt/images/raw --output=json { "virtual-size": 10737418240, "filename": "/var/lib/libvirt/images/raw", "format": "raw", "actual-siz

Re: [Qemu-discuss] e1000 / pc ~ e1000e / q35

2018-05-30 Thread Han Han
I didn't face the problem in rhel. But I suggest you to provide the dmesg and modinfo of e1000e in your VM. On Mon, May 28, 2018 at 9:53 PM, Pascal wrote: > the guests are started as follows : > > /usr/bin/qemu-system-x86_64 -enable-kvm -m 2048 -machine {q35|pc} -usb -hda > {arch1|arch2}.img > >

Re: [Qemu-discuss] newbie question: how to connect to a running guest with qemu monitor

2018-05-30 Thread Han Han
I find your vnc of VM is open. If there is GUI in your host, you can try virt-viewer on this host: $ sudo virt-viewer mausdb2 Or remote-viewer: $ remote-viewer vnc://localhost:0 On Wed, May 30, 2018 at 3:15 AM, Lentes, Bernd < bernd.len...@helmholtz-muenchen.de> wrote: > Hi, > > sorry for asking