Re: [Qemu-discuss] [Qemu-devel] [QGA] Bug of qga?

2017-08-29 Thread Sameeh Jubran
Hi Sam, Thanks for reporting this, in order to debug this efficiently I need you to provide me with more info, if you can provide it that would be great. Can you reproduce the issue with ncat? You can use ncat to connect to the socket by running the following command: nc -U /tmp/qga.sock Which O

Re: [Qemu-discuss] No internet access from centos 7 minimal guest

2017-08-29 Thread Peter Maydell
On 28 August 2017 at 18:28, Thomas Huth wrote: > On 28.08.2017 13:56, Mahmood wrote: >> Hi,I have installed a Centos 7 minimal installation with the following >> command >> qemu-system-x86_64 -m 4000 -smp 2 -hda centos7ser.img -boot c -usbdevice >> tablet -enable-kvm -device e1000,netdev=host_f

Re: [Qemu-discuss] changing from net to netdev with vde switches and double nics

2017-08-29 Thread Thomas Huth
Hi, On 28.08.2017 15:58, Paolo wrote: > Hello everyone, > > I'm at loss as to how to translate from net to netdev syntax the following > lines: > > NET0="-net vde,vlan=0,sock=/var/run/vde.ctl00 -net > nic,vlan=0,model=rtl8139,macaddr=$NIC0MAC -net > tap,vlan=0,ifname=pub2,script=no,downscrip

[Qemu-discuss] Network Connection For Windows Host Debian Guest

2017-08-29 Thread Wu, Michael Y [US] (MS)
Hi everyone, I am emulating Debian PPC64 on a Windows7 Host. I am interested in accessing a network drive that my host can access. I am able to transfer files from the host and guest by establishing a http server on the host end but I would preferably like to have full access to the network dri

[Qemu-discuss] Live VM backup

2017-08-29 Thread Vincenzo Romano
I'd like to move away from "another virtualization solution" to QEmu. I've more or less all the needed bits in my hands in order to define, run and manage QEmu VMs. What I am missing is the knowledge of how to backup a live VM. Of course, if I shutdown the VM, I can simply copy its files and the st

Re: [Qemu-discuss] No internet access from centos 7 minimal guest

2017-08-29 Thread Mahmood
Yes you are right. As I ping google.com, I see it finds the IP address but ping doesn't work. So, that mean network is fine. Thank you very much Regards, Mahmood On Tuesday, August 29, 2017, 2:03:12 PM GMT+4:30, Peter Maydell wrote: On 28 August 2017 at 18:28, Thomas Huth wrote: > On

Re: [Qemu-discuss] Live VM backup

2017-08-29 Thread Aleksei
Why not use libvirt? It even has a documentation on live backups: http://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit I don't know if it's possible with plain qemu. On 29/08/17 19:32, Vincenzo Romano wrote: I'd like to move away from "another virtualization solution" to QEmu.

Re: [Qemu-discuss] Live VM backup

2017-08-29 Thread Vincenzo Romano
Il 29 ago 2017 6:49 PM, "Aleksei" ha scritto: Why not use libvirt? It even has a documentation on live backups: http://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit I don't know if it's possible with plain qemu. Because all libvirt stuff starts with "copy this XML file and cus

Re: [Qemu-discuss] Live VM backup

2017-08-29 Thread Aleksei
> Because all libvirt stuff starts with "copy this XML file and customize it" and there's little or no documentation about that XML. What? https://libvirt.org/formatdomain.html On 29/08/17 19:52, Vincenzo Romano wrote: Il 29 ago 2017 6:49 PM, "Aleksei" > ha scritto:

Re: [Qemu-discuss] Live VM backup

2017-08-29 Thread Vincenzo Romano
Il 29 ago 2017 7:13 PM, "Aleksei" ha scritto: > Because all libvirt stuff starts with "copy this XML file and customize it" and there's little or no documentation about that XML. What? https://libvirt.org/formatdomain.html Thanks. I think this is a good piece of news. I still think that libvirt

[Qemu-discuss] Accessing a shared folder

2017-08-29 Thread Mahmood
Hi, Following the manual, I use this command to boot a centos guest and access a ashared folder between host and guest qemu-system-x86_64 -m 2000 -hda cent7.img -boot c -usbdevice tablet -enable-kvm -device e1000,netdev=host_files -netdev user,net=10.0.2.0/24,id=host_files -virtfs fsdriver,id=s

[Qemu-discuss] PCI passthrough of a single VF to more than one VM

2017-08-29 Thread Kevin Wilson
Hi, Is it possible to assign a VF (I am interested in a VF of a PCI Ethernet NIC) to more than one VM ? (using "-device pci-assign,host=$VF_PCI_ID" directive ) ? I tried to assign the same device in this way to two VMs but I got an error (something about resource busy). But maybe I have an error i

Re: [Qemu-discuss] Live VM backup

2017-08-29 Thread Fam Zheng
On Tue, 08/29 18:32, Vincenzo Romano wrote: > I'd like to move away from "another virtualization solution" to QEmu. > I've more or less all the needed bits in my hands in order to define, > run and manage QEmu VMs. > What I am missing is the knowledge of how to backup a live VM. > Of course, if I s

Re: [Qemu-discuss] Accessing a shared folder

2017-08-29 Thread Thomas Huth
Hi, On 29.08.2017 20:07, Mahmood wrote: > Hi, > Following the manual, I use this command to boot a centos guest and access a > ashared folder between host and guest > > qemu-system-x86_64 -m 2000 -hda cent7.img -boot c -usbdevice tablet > -enable-kvm -device e1000,netdev=host_files -netdev >

Re: [Qemu-discuss] changing from net to netdev with vde switches and double nics

2017-08-29 Thread Paolo
Hi Thomas, thank you for your interest in the question > On Tue, 29 Aug 2017 11:48:20 +0200 > Thomas Huth wrote: [cut] > That's interesting, I think you're the first person I know in months or > even years who really seems to be using the vlan=x parameter (with x >= > 1)... I currently can'

Re: [Qemu-discuss] changing from net to netdev with vde switches and double nics

2017-08-29 Thread Thomas Huth
On 29.08.2017 21:22, Paolo wrote: > > -- >> On Tue, 29 Aug 2017 11:48:20 +0200 >> Thomas Huth wrote: > [cut] >> That's interesting, I think you're the first person I know in months or >> even years who really seems to be using th

Re: [Qemu-discuss] Live VM backup

2017-08-29 Thread Vincenzo Romano
Il 30 ago 2017 05:19, "Fam Zheng" ha scritto: On Tue, 08/29 18:32, Vincenzo Romano wrote: > I'd like to move away from "another virtualization solution" to QEmu. > I've more or less all the needed bits in my hands in order to define, > run and manage QEmu VMs. > What I am missing is the knowledge

Re: [Qemu-discuss] [Qemu-devel] [QGA] Bug of qga?

2017-08-29 Thread Sam
Qemu-2.6.0 2017-08-30 14:20 GMT+08:00 Sam : > Hi all, > > I could repeat it, host os and guest os is Centos-7, qemu-ga is alive in > guest. the step to repeat it is: > > 1. run python script just like the first email. > 2. send qmp command1(cmd in the python script, like `route -n` command or > s

Re: [Qemu-discuss] [Qemu-devel] [QGA] Bug of qga?

2017-08-29 Thread Sam
Hi all, I could repeat it, host os and guest os is Centos-7, qemu-ga is alive in guest. the step to repeat it is: 1. run python script just like the first email. 2. send qmp command1(cmd in the python script, like `route -n` command or something, of course it's qmp format), and interrupt it immed