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

2017-08-30 Thread Paolo
> On Wed, 30 Aug 2017 08:03:31 +0200 > Thomas Huth wrote: > > NET0="-net vde,vlan=0,sock=/var/run/vde.ctl00 -net > > nic,vlan=0,model=rtl8139,macaddr=$NIC0MAC" > > NET1="-net vde,vlan=1,sock=/var/run/vde.ctl01 -net > > nic,vlan=1,model=rtl8139,macaddr=$NIC1MAC" > > > > Now I guess this is

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Greg Kurz
On Wed, 30 Aug 2017 14:35:00 + (UTC) Mahmood wrote: > OK. I reconfigured 2.9.0 with --enable-virtfs. Please note: > 1- If I use -virtfs option, I get > qemu-option.c:547: opt_set: Assertion `opt->str' failed > If you use the local fsdriver, security_model is

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Mahmood
OK. I reconfigured 2.9.0 with --enable-virtfs. Please note: 1- If I use -virtfs option, I get qemu-option.c:547: opt_set: Assertion `opt->str' failed 2- If I use -fsdev and -device, then I *must* use security_model 3- If I use -fsdev and -device and security_model, then the guest boots

[Qemu-discuss] Qemu overhead of VxWorks?

2017-08-30 Thread Dong-In Kang
Hi, Has anyone measured how much overhead (extra latencies in interrupt, etc.) will be added when we run Vxwork in Qemu? I’ll appreciate any help. David

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Thomas Huth
On 30.08.2017 12:11, Greg Kurz wrote: [...] > Hi, > > Both -virtfs and -fsdev/-device syntaxes work for me with the current QEMU > master branch :) Where's your qemu-system-x86_64 binary coming from ? There is at least one problem with -virtfs if you forget to specify the "security_model=xxx"

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Greg Kurz
On Wed, 30 Aug 2017 12:17:22 +0200 Thomas Huth wrote: > On 30.08.2017 12:11, Greg Kurz wrote: > [...] > > Hi, > > > > Both -virtfs and -fsdev/-device syntaxes work for me with the current QEMU > > master branch :) Where's your qemu-system-x86_64 binary coming from ? > >

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Peter Maydell
On 30 August 2017 at 12:38, Mahmood wrote: > Hello again,I installed 2.5.0 quickly and it was pretty straight forward! > > Here is the error message I get regarding the 'virtio-9p-pci' > 'virtio-9p-pci' is not a valid device model name Are you building your own QEMU binary

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Mahmood
Hello again,I installed 2.5.0 quickly and it was pretty straight forward! Here is the error message I get regarding the 'virtio-9p-pci' mahmood@cluster:qemu-vm$ qemu-system-x86_64 -m 4000 -cpu Opteron_G5 -smp 2 -hda centos7.img -boot c  -usbdevice tablet -enable-kvm -device

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Mahmood
The security_model=none also doesn't work and get the same error. mahmood@cluster:qemu-vm$ qemu-system-x86_64 -version QEMU emulator version 1.7.0, Copyright (c) 2003-2008 Fabrice Bellard I know it is old but I think I installed this version three years ago due to the Rocks-6 version old

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Greg Kurz
On Wed, 30 Aug 2017 09:28:57 + (UTC) Mahmood wrote: > >Could you please try to replace the -virtfs option with these two options: > > > >-fsdev local,id=shared,path=/home/mahmood/Downloads \ > >-device virtio-9p-pci,fsdev=shared,mount_tag=Downloads > > > > >

Re: [Qemu-discuss] Live VM backup

2017-08-30 Thread Vincenzo Romano
2017-08-30 11:58 GMT+02:00 Fam Zheng : > On Wed, 08/30 11:45, Vincenzo Romano wrote: >> 2017-08-30 11:40 GMT+02:00 Fam Zheng : >> > On Wed, 08/30 11:16, Vincenzo Romano wrote: >> >> 2017-08-30 10:53 GMT+02:00 Fam Zheng : >> >> > On Wed, 08/30

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Thomas Huth
On 30.08.2017 11:28, Mahmood wrote: >> Could you please try to replace the -virtfs option with these two options: >> > >-fsdev local,id=shared,path=/home/mahmood/Downloads \ > >-device virtio-9p-pci,fsdev=shared,mount_tag=Downloads > > Still get the same error! > > mahmood@cluster:qemu-vm$

Re: [Qemu-discuss] Live VM backup

2017-08-30 Thread Fam Zheng
On Wed, 08/30 11:45, Vincenzo Romano wrote: > 2017-08-30 11:40 GMT+02:00 Fam Zheng : > > On Wed, 08/30 11:16, Vincenzo Romano wrote: > >> 2017-08-30 10:53 GMT+02:00 Fam Zheng : > >> > On Wed, 08/30 08:17, Vincenzo Romano wrote: > >> >> Il 30 ago 2017 05:19, "Fam

Re: [Qemu-discuss] Live VM backup

2017-08-30 Thread Vincenzo Romano
2017-08-30 11:40 GMT+02:00 Fam Zheng : > On Wed, 08/30 11:16, Vincenzo Romano wrote: >> 2017-08-30 10:53 GMT+02:00 Fam Zheng : >> > On Wed, 08/30 08:17, Vincenzo Romano wrote: >> >> Il 30 ago 2017 05:19, "Fam Zheng" ha scritto: >> >> >> >> On

Re: [Qemu-discuss] Live VM backup

2017-08-30 Thread Fam Zheng
On Wed, 08/30 11:16, Vincenzo Romano wrote: > 2017-08-30 10:53 GMT+02:00 Fam Zheng : > > On Wed, 08/30 08:17, Vincenzo Romano wrote: > >> Il 30 ago 2017 05:19, "Fam Zheng" ha scritto: > >> > >> On Tue, 08/29 18:32, Vincenzo Romano wrote: > >> > I'd like to move

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Mahmood
>Could you please try to replace the -virtfs option with these two options: > >-fsdev local,id=shared,path=/home/mahmood/Downloads \ >-device virtio-9p-pci,fsdev=shared,mount_tag=Downloads Still get the same error! mahmood@cluster:qemu-vm$ qemu-system-x86_64 -m 4000 -cpu Opteron_G5 -smp 2

Re: [Qemu-discuss] Live VM backup

2017-08-30 Thread Vincenzo Romano
2017-08-30 10:53 GMT+02:00 Fam Zheng : > On Wed, 08/30 08:17, Vincenzo Romano wrote: >> 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. >> >

Re: [Qemu-discuss] Live VM backup

2017-08-30 Thread Fam Zheng
On Wed, 08/30 08:17, Vincenzo Romano wrote: > 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

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Thomas Huth
On 30.08.2017 09:55, Mahmood wrote: >> You don't have to write "fsdriver" here, but replace it with "local", >> "handle" or "proxy". > > Still get the same error > > mahmood@cluster:qemu-vm$ qemu-system-x86_64 -m 4000 -cpu Opteron_G5 -smp 2 > -hda centos7server.img -boot c  -usbdevice tablet

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Mahmood
>You don't have to write "fsdriver" here, but replace it with "local", >"handle" or "proxy". Still get the same error mahmood@cluster:qemu-vm$ qemu-system-x86_64 -m 4000 -cpu Opteron_G5 -smp 2 -hda centos7server.img -boot c  -usbdevice tablet -enable-kvm -device e1000,netdev=host_files

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

2017-08-30 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

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

2017-08-30 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

Re: [Qemu-discuss] Live VM backup

2017-08-30 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

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

2017-08-30 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

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

2017-08-30 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)...