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 im

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 mandatory with -virtfs jus

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 nor

[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" opt

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 ? > > There is at least one

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 or is it from somewhere

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 e1000,netdev=host_

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 libra

Re: [Qemu-discuss] Live VM backup

2017-08-30 Thread Vincenzo Romano
2017-08-30 12:27 GMT+02:00 Fam Zheng : > On Wed, 08/30 12:07, Vincenzo Romano wrote: >> 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

Re: [Qemu-discuss] Live VM backup

2017-08-30 Thread Fam Zheng
On Wed, 08/30 12:07, Vincenzo Romano wrote: > 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 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 > > > > > Still get the same error!

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 08:17, Vincenzo Romano wrote: >> >> >> Il 30 ago 2017 05

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$ qemu

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 Zheng" ha scritto: > >> >> > >> >>

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 Tue, 08/29 18:32, Vincenzo Romano wrote: >> >> > I'd li

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 away from "another virtualization so

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 -h

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. >> > I've more or less all the needed b

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 define, > > run a

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 -en

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 -netde