Displaying 20 results from an estimated 129 matches for "hostnet0".
2011 Feb 10
2
Start domain with usable QMP connection?
...rive-ide0-0-0,format=raw
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0
-drive file=/home/username/iso/en_winxp_pro_with_sp2.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
-netdev tap,fd=16,id=hostnet0 -device
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:4d:1d:1b,bus=pci.0,addr=0x3
-chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb
-device usb-tablet,id=input0 -vnc 127.0.0.1:0 -k en-us -vga std
-device ES1370,id=sound0,bus=pci.0,addr=0x4 -device
virtio-balloon-pci,id=balloon0,bus=pci...
2012 Jan 23
1
libvirt 0.9.9: could not open /dev/net/tun: Operation not permitted
...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: could not open /dev/net/tun: Operation not permitted
qemu-system-x86_64: -net tap,ifname=vif-0-3,script=/etc/libvirt/qemu/vif-vnet-up,vlan=0,name=hostnet0: Device 'tap' could not be initialized
I run the latest qemu-kvm.
The permissions on the tun device are set to default settings and m...
2011 Dec 11
5
New Guess OS Creation Problem
...s=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2 -drive file=/opt/ISO-Download/FreeBSD-8.2-RELEASE-amd64-disc1.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw,aio=threads -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 -netdev tap,fd=22,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=52:54:00:77:a5:a6,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -usb -vnc 127.0.0.1:2,password -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
char device redirected to /dev/pts/6
Usin...
2012 Apr 06
1
qemu-kvm fails on RHEL6
...nces/instance-00000027/ramdisk -append root=/dev/vda console=ttyS0 -drive file=/home/sumitsen/openstack/nova/instances/instance-00000027/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 -netdev tap,fd=26,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=fa:16:3e:15:84:3e,bus=pci.0,addr=0x3 -chardev
file,id=charserial0,path=/home/sumitsen/openstack/nova/instances/instance-00000027/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charseri...
2013 Aug 11
2
Re: Bridging Wireless Cards for KVM
...fortunately, I am running into the following issue when
attempting to use the generic ethernet configuration:
$ virsh -c qemu:///system create /tmp/generic.xml
error: Failed to create domain from /tmp/generic.xml
error: internal error process exited while connecting to monitor: kvm:
-netdev tap,id=hostnet0: could not configure /dev/net/tun: Operation not
permitted
kvm: -netdev tap,id=hostnet0: Device 'tap' could not be initialized
This is the network part of my xml file:
<devices>
<interface type="ethernet"/>
...
<devices>
<interface type='ethe...
2013 Nov 17
2
Unable to use more than 4 serial devices at once.
...TFTP.qcow2,if=none,id=drive-virtio-disk0,format=qcow2
-device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device
ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev
tap,fd=31,id=hostnet0,vhost=on,vhostfd=32 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:e6:9c:c0,bus=pci.0,addr=0x3
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
tty,id=charserial1,path=/dev/c1841-A -device
isa-serial,chardev=charserial1,id=serial1 -chardev
tty,id=c...
2014 Feb 18
3
Re: Problems with qemu-system-arm and isa-serial
On Tue, Feb 18, 2014 at 09:10:58AM +0100, Martin Kletzander wrote:
> On Mon, Feb 17, 2014 at 05:01:05PM +0100, Niccolo Rigacci wrote:
> > Hi,
> >
> > I'm trying to use libvirt for an armel virtual machine hosted
> > into an x86_64 box.
> >
> > I know the command line to start qemu-system-arm directly, but I
> > cannot figure a proper .xml
2014 Feb 18
0
Re: Problems with qemu-system-arm and isa-serial
...;-device isa-serial'?
This is the command line I use to start qemu directly:
qemu-system-arm -M versatileab -m 256 \
-kernel vmlinuz-2.6.32-5-versatile \
-initrd initrd.img-2.6.32-5-versatile \
-hda "debian_squeeze_armel_standard.qcow2" -boot order=c \
-netdev tap,id=hostnet0,ifname=tap72,script=/home/kvm/armel/qemu-ifup \
-device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:00:03:72 \
-nographic -serial telnet::4000,server,nowait,nodelay \
-append "root=/dev/sda1 console=ttyAMA0"
Adding the -nodefaults I had to use this command line (not
exactl...
2014 Feb 18
2
Re: Problems with qemu-system-arm and isa-serial
...s is the command line I use to start qemu directly:
>
> qemu-system-arm -M versatileab -m 256 \
> -kernel vmlinuz-2.6.32-5-versatile \
> -initrd initrd.img-2.6.32-5-versatile \
> -hda "debian_squeeze_armel_standard.qcow2" -boot order=c \
> -netdev tap,id=hostnet0,ifname=tap72,script=/home/kvm/armel/qemu-ifup \
> -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:00:03:72 \
> -nographic -serial telnet::4000,server,nowait,nodelay \
> -append "root=/dev/sda1 console=ttyAMA0"
>
>
> Adding the -nodefaults I had to use...
2013 Aug 12
1
Re: Bridging Wireless Cards for KVM
...the following issue when
> attempting to use the generic ethernet configuration:
>
> $ virsh -c qemu:///system create /tmp/generic.xml
> error: Failed to create domain from /tmp/generic.xml
> error: internal error process exited while connecting to monitor: kvm:
> -netdev tap,id=hostnet0: could not configure /dev/net/tun: Operation not
> permitted
> kvm: -netdev tap,id=hostnet0: Device 'tap' could not be initialized
>
> This is the network part of my xml file:
>
> ...
> <devices>
> <interface type="ethernet"/>
> ...
&...
2013 Apr 19
0
Unexplained shutdown of VM on upgrade of libvirt package
...r,id=monitor,mode=control -rtc base=utc
-no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive
file=/var/lib/libvirt/images/guinness-a.img,if=none,id=drive-ide0-0-0,format=raw
-device
ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
-netdev tap,fd=28,id=hostnet0 -device
e1000,netdev=hostnet0,id=net0,mac=54:52:00:98:7f:cc,bus=pci.0,addr=0x3
-netdev tap,fd=33,id=hostnet1 -device
e1000,netdev=hostnet1,id=net1,mac=54:52:00:c4:d4:fd,bus=pci.0,addr=0x5
-netdev tap,fd=34,id=hostnet2 -device
e1000,netdev=hostnet2,id=net2,mac=54:52:00:a3:33:24,bus=pci.0,addr=0...
2013 Aug 11
0
Re: Bridging Wireless Cards for KVM
...fortunately, I am running into the following issue when
attempting to use the generic ethernet configuration:
$ virsh -c qemu:///system create /tmp/generic.xml
error: Failed to create domain from /tmp/generic.xml
error: internal error process exited while connecting to monitor: kvm:
-netdev tap,id=hostnet0: could not configure /dev/net/tun: Operation not
permitted
kvm: -netdev tap,id=hostnet0: Device 'tap' could not be initialized
This is the network part of my xml file:
...
<devices>
<interface type="ethernet"/>
...
<interface type="ethernet'>...
2013 Jul 10
2
guests not shutting down when host shuts down
...ages/greensql_2/disk0.raw,if=none,id=drive-ide0-0-0,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=17,id=hostnet0,vhost=on,vhostfd=20 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:37:92:a9,bus=pci.0,addr=0x3 -usb -vnc 127.0.0.1:2 -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
Domain id=3 is tainted: high-privileges
qemu: terminating on signal 15 from pid 24958
2013-07-08...
2012 Jun 16
4
Failing to start or create VM, cannot connect to hypervisor host
...sk4,format=raw,cache=none,aio=native
-device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x9,drive=drive-virtio-disk4,id=virtio-disk4
-drive
file=/dev/sr0,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
-netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=29 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:9d:b2:49,bus=pci.0,addr=0x3
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -usb -device
usb-tablet,id=input0 -vnc 127.0.0.1:2 -vga cirrus -device
intel-hda,id=sound0,bus=pci.0,addr=0x4 -de...
2013 Nov 13
4
How to tell libvirt not to use qemu "accel=kvm" for a FreeBSD guest
...-rtc base=utc
-no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive
file=/home/christiaga/projects/vms/images/FreeBSD-9.2-RELEASE-amd64.img,if=none,id=drive-ide0-0-0,format=raw
-device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
-netdev tap,fd=24,id=hostnet0 -device
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:9c:94:3b,bus=pci.0,addr=0x3
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
After many attempts, I pinned down the problem. To be able to boot the
machi...
2013 Nov 14
1
Re: How to tell libvirt not to use qemu "accel=kvm" for a FreeBSD guest
...vice piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive
> >file=/home/christiaga/projects/vms/images/FreeBSD-9.2-RELEASE-amd64.img,if=none,id=drive-ide0-0-0,format=raw
> >-device
> >ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
> >-netdev tap,fd=24,id=hostnet0 -device
> >rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:9c:94:3b,bus=pci.0,addr=0x3
> >-chardev pty,id=charserial0 -device
> >isa-serial,chardev=charserial0,id=serial0 -device
> >virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
> >
> >After many attempts, I pinn...
2017 Oct 20
3
Re: terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd)
...>> virtio-blk-ccw,scsi=off,devno=fe.0.0000,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
>> -drive if=none,id=drive-scsi0-0-0-0,readonly=on -device
>>
>> scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0
>> -netdev tap,fd=26,id=hostnet0 -device
>>
>> virtio-net-ccw,netdev=hostnet0,id=net0,mac=52:54:00:e8:61:7e,devno=fe.0.0001
>> -chardev pty,id=charconsole0 -device
>> sclpconsole,chardev=charconsole0,id=console0 -device
>> virtio-balloon-ccw,id=balloon0,devno=fe.0.0003 -msg timestamp=on
>> 2017-...
2013 Nov 19
0
Re: Unable to use more than 4 serial devices at once.
...; >
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
> > -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device
> > ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev
> > tap,fd=31,id=hostnet0,vhost=on,vhostfd=32 -device
> >
> virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:e6:9c:c0,bus=pci.0,addr=0x3
> -chardev
> > pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0
> -chardev
> > tty,id=charserial1,path=/dev/c1841-...
2017 Oct 19
2
terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd)
...e-virtio-disk0,cache=none,aio=native
-device
virtio-blk-ccw,scsi=off,devno=fe.0.0000,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-drive if=none,id=drive-scsi0-0-0-0,readonly=on -device
scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0
-netdev tap,fd=26,id=hostnet0 -device
virtio-net-ccw,netdev=hostnet0,id=net0,mac=52:54:00:e8:61:7e,devno=fe.0.0001
-chardev pty,id=charconsole0 -device
sclpconsole,chardev=charconsole0,id=console0 -device
virtio-balloon-ccw,id=balloon0,devno=fe.0.0003 -msg timestamp=on
2017-10-19T18:10:21.701184Z qemu-system-s390x: -chardev
pty...
2019 Apr 18
2
Re: [libvirt] Why virsh domxml-to-native qemu-argv changes PCI slot number
...taly wrote:
> Hi,
> I have bridge type interface defined with slot 3 -
> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
> but after running virsh domxml-to-native qemu-argv I get slot 2-
> -netdev tap,fd=21,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=f2:ff:ff:ff:ff:07,bus=pci.0,addr=0x2
> Any idea why it's happen and how to keep the slot number? Libvirt version is 4.5.0
I can reproduce this, and also confirm that it shouldn't happen :)
qemuDomainAssignAddresses() is supposed to make sure t...