search for: clear_emulator_capabilities

Displaying 10 results from an estimated 10 matches for "clear_emulator_capabilities".

2013 Jul 31
1
Re: filesystem accessmode='passthrough' [SOLVED]
On Wed, Jul 31, 2013 at 09:03:01AM +0400, Yury Goltsov wrote: > After adding the line > clear_emulator_capabilities = 0 > to the file > /etc/libvirt/qemu.conf > the results of file system operations are the expected color. NB setting user=root and clear_emulator_capabilities=0 is a very insecure configuration. If there was an exploit in QEMU, it would allow it to compromise your entire host, unles...
2013 Aug 12
1
Re: Bridging Wireless Cards for KVM
.../> > <script path='/etc/qemu-ifup'/> > </interface> > ... > </devices> > ... > > In my /etc/libvirt/qemu.conf file I have the following set: > > user = "root" > group ="root" > dynamic ownership = 0 > clear_emulator_capabilities = 0 > cgroup_device_acl = [ > "/dev/null", "/dev/full", "/dev/zero", > "/dev/random", "/dev/urandom", > "/dev/ptmx", "/dev/kvm", "/dev/kqemu", > "/dev/rtc", "/dev/hpet"...
2013 Aug 11
2
Re: Bridging Wireless Cards for KVM
...ethernet'> <target dev='vnet7'/> <script path='/etc/qemu-ifup-mynet'/> </interface> </devices> ... In my /etc/libvirt/qemu.conf file I have the following set: user = "root" group ="root" dynamic ownership = 0 clear_emulator_capabilities = 0 cgroup_device_acl = [ "/dev/null", "/dev/full", "/dev/zero", "/dev/random", "/dev/urandom", "/dev/ptmx", "/dev/kvm", "/dev/kqemu", "/dev/rtc", "/dev/hpet", "/dev/net/tun&...
2019 Jul 16
1
filesharing file owner problem
...#39;/> <target dir='data'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </filesystem> /etc/libvirt/qemu.conf : user = "root" group = "root" dynamic_ownership = 0 clear_emulator_capabilities = 0 even with this unsecure configuration I wasn't able to achieve that newly created files/dirs in guest machine have ownership of guest machine user but they are still created under root user id. Also strange is that group of those files/dirs are correct. Can somebody help me with this? Tha...
2013 Jul 26
4
filesystem accessmode='passthrough'
Hello. I am trying to 'passthrough' the part of host filesystem to kvm guest. libvirt xml: <filesystem type='mount' accessmode='passthrough'> <source dir='/var/guests/mail-var'/> <target dir='mail-var'/> </filesystem> kvm is started from root. After mounting in guest mount -t 9p mail-var /mnt -o
2013 Aug 11
0
Re: Bridging Wireless Cards for KVM
...quot;ethernet'> <target dev="tap0"/> <script path='/etc/qemu-ifup'/> </interface> ... </devices> ... In my /etc/libvirt/qemu.conf file I have the following set: user = "root" group ="root" dynamic ownership = 0 clear_emulator_capabilities = 0 cgroup_device_acl = [ "/dev/null", "/dev/full", "/dev/zero", "/dev/random", "/dev/urandom", "/dev/ptmx", "/dev/kvm", "/dev/kqemu", "/dev/rtc", "/dev/hpet", "/dev/net/tun&...
2012 Jan 23
1
libvirt 0.9.9: could not open /dev/net/tun: Operation not permitted
Hi, I'm running the latest libvirt 0.9.9. I'm trying to start a VIF of type "Ethernet". I know there are problems with that because you need to be root in order to control the tun/tap driver. I changed my qemu.conf file to user = "root" group = "root" clear_emulator_capabilities = 0 However, I still get an error when trying to start my VM: [root]# virsh start vm-0-3 error: Failed to start domain vm-0-3 error: internal error process exited while connecting to monitor: qemu-system-x86_64: -net tap,ifname=vif-0-3,script=/etc/libvirt/qemu/vif-vnet-up,vlan=0,name=hostnet0: co...
2013 Jul 31
0
Re: filesystem accessmode='passthrough' [SOLVED]
After adding the line clear_emulator_capabilities = 0 to the file /etc/libvirt/qemu.conf the results of file system operations are the expected color. Thanks.
2020 Jan 16
1
Bridge-less VM
I'm trying to create a free standing VM that doesn't connect to a bridge. This is supposedly do able according to the WIKI: https://libvirt.org/formatdomain.html#elementsNICSEthernet But with a config similar to: <interface type='ethernet'> <target dev='mytap1' managed='no'/> <model type='virtio'/> </interface> When
2013 Aug 09
2
Bridging Wireless Cards for KVM
Hi, I hope this is the right place to ask this question. I was wondering if there is a way to set up a KVM VM using an XML document as input into Virsh that uses bridged networking over a wireless card. I understand that wireless cards to not natively support, but I was able to find a working solution here: http://blog.ericwhite.ca/articles/2011/04/creating-a-wireless-bridge/. The issue is, I