search for: hostfwd

Displaying 20 results from an estimated 20 matches for "hostfwd".

2013 Apr 12
2
Port forwarding for KVM
...virtual machine, then get that QEMU's vnc output. I am using libvirt 0.9.13 (`libvirtd --version`), and attach is my vm's original config xml. Is there a simple way to achieve my goal? I was told that iptable solution I found on the web is for "tap" interface, and I can use "hostfwd" QEMU option if I use "user" interface. For the latter approach, I basically follow this one [1] with the QEMU cmdline option below: <qemu:commandline> <qemu:arg value='-net user,hostfwd=::5902-:5901'/> </qemu:commandline> But virsh always keep say...
2018 Oct 22
1
Re: Questions regarding migration from QEMU to libvirt
...g the same from the guest > perspective (Guest ABI stability)? Actually, we do not use any special feature from QEMU. Just basic things. Just for illustrate, follows the command that we use for start a VM: qemu-system-x86_64 -enable-kvm -daemonize -m 3G -smp cores=4,cpus=4 -net nic \ -net user,hostfwd=tcp::2222-:22,smb=/home/USER /home/USER/p/DISK.qcow2 > If you only need the disk to stay the same and you want to easily migrate > existing machines, then virt-v2v might be good to try. Thanks! I will take a look on this. > > 1) Import our QEMU images with virsh > > > >...
2017 Jul 26
2
qemu-system-x86_64 does not support fw_cfg option
...the qemu documentation, see here <https://qemu.weilnetz.de/doc/qemu-doc.html#Debug_002fExpert-options>, they support this option. The command used to run the vm is: /usr/bin/qemu-system-x86_64 -name CL-IGN-1 -m 1024 \ -net nic,vlan=0,model=virtio \ -net user,vlan=0,hostfwd=tcp::2222-:22,hostname=CL-IGN-1 \ -drive if=virtio,file=./coreos_production_qemu_image.img \ -fw_cfg name=opt/com.coreos/config,file=./CL-IGN-1.ignconfig qemu-system-x86_64: -fw_cfg: invalid option I also tried using /usr/libexec/qemu-kvm but got the same error. I am runnin...
2016 Nov 16
3
BUG: 'list_empty(&vgdev->free_vbufs)' is true!
On Fr, 2016-11-11 at 17:28 +0100, Jiri Slaby wrote: > On 11/09/2016, 09:01 AM, Gerd Hoffmann wrote: > > On Di, 2016-11-08 at 22:37 +0200, Michael S. Tsirkin wrote: > >> On Mon, Nov 07, 2016 at 09:43:24AM +0100, Jiri Slaby wrote: > >>> Hi, > >>> > >>> I can relatively easily reproduce this bug: > > > > How? > > Run dmesg -w
2016 Nov 16
3
BUG: 'list_empty(&vgdev->free_vbufs)' is true!
On Fr, 2016-11-11 at 17:28 +0100, Jiri Slaby wrote: > On 11/09/2016, 09:01 AM, Gerd Hoffmann wrote: > > On Di, 2016-11-08 at 22:37 +0200, Michael S. Tsirkin wrote: > >> On Mon, Nov 07, 2016 at 09:43:24AM +0100, Jiri Slaby wrote: > >>> Hi, > >>> > >>> I can relatively easily reproduce this bug: > > > > How? > > Run dmesg -w
2016 Oct 18
3
virt-builder and Ubuntu 16.04 Xenial no access issue
Hello, I created an Ubuntu 16.04 Xenial guest using virt-builder(1) with # virt-builder ubuntu-16.04 -o /var/lib/libvirt/images/ubuntu-16.04.qcow2 --size 10G --format qcow2 --firstboot-command 'dpkg-reconfigure openssh-server' --arch x86_64 And imported it to libvirt with # virt-install --import --name ubuntu-xenial --ram 2048 --disk
2020 Jun 05
3
[PATCH RFC v4 00/13] virtio-mem: paravirtualized memory
...ommand is like this: qemu-system-x86_64 --enable-kvm \ -m 2G,maxmem=16G -kernel /root/linux-next/$1/arch/x86/boot/bzImage \ -smp 4 \ -append "earlyprintk=ttyS0 root=/dev/sda1 console=ttyS0 debug psi=1 nokaslr ignore_loglevel" \ -hda /root/CentOS-7-x86_64-Azure-1703.qcow2 \ -net user,hostfwd=tcp::2222-:22 -net nic -s \ -object memory-backend-ram,id=mem0,size=3G \ -device virtio-mem-pci,id=vm0,memdev=mem0,node=0,requested-size=0M \ --nographic
2020 Jun 05
3
[PATCH RFC v4 00/13] virtio-mem: paravirtualized memory
...ommand is like this: qemu-system-x86_64 --enable-kvm \ -m 2G,maxmem=16G -kernel /root/linux-next/$1/arch/x86/boot/bzImage \ -smp 4 \ -append "earlyprintk=ttyS0 root=/dev/sda1 console=ttyS0 debug psi=1 nokaslr ignore_loglevel" \ -hda /root/CentOS-7-x86_64-Azure-1703.qcow2 \ -net user,hostfwd=tcp::2222-:22 -net nic -s \ -object memory-backend-ram,id=mem0,size=3G \ -device virtio-mem-pci,id=vm0,memdev=mem0,node=0,requested-size=0M \ --nographic
2018 Oct 03
2
Questions regarding migration from QEMU to libvirt
Hi, My colleagues and I have a set of scripts that we use to automate our daily tasks related to the Linux Kernel. As a result, most of our code relies on the QEMU features; and recently we decided use libvirt instead of QEMU. However, we have some questions, and I would like to know if someone could help us. Follows: 1) Import our QEMU images with virsh Currently, we import the QEMU VMs with
2016 Oct 19
1
Re: virt-builder and Ubuntu 16.04 Xenial no access issue
...$ virt-builder ubuntu-16.04 --firstboot-command "dpkg-reconfigure openssh-server" --root-password password:123456 | | $ qemu-system-x86_64 -nodefconfig -display none -machine accel=kvm:tcg -m | 2048 -boot c -drive file=ubuntu-16.04.img,format=raw,if=ide -netdev | user,id=usernet,hostfwd=tcp:127.0.0.1:9000-:22 -device | rtl8139,netdev=usernet -serial stdio | | Observe that it boots without any console output. | | In another window, try: | | $ ssh -v root@localhost -p 9000 | | SSH will hang during connection. | | If you repeat the same tests as above, but using fedora-24,...
2016 Oct 18
0
Re: virt-builder and Ubuntu 16.04 Xenial no access issue
...his myself: $ virt-builder ubuntu-16.04 --firstboot-command "dpkg-reconfigure openssh-server" --root-password password:123456 $ qemu-system-x86_64 -nodefconfig -display none -machine accel=kvm:tcg -m 2048 -boot c -drive file=ubuntu-16.04.img,format=raw,if=ide -netdev user,id=usernet,hostfwd=tcp:127.0.0.1:9000-:22 -device rtl8139,netdev=usernet -serial stdio Observe that it boots without any console output. In another window, try: $ ssh -v root@localhost -p 9000 SSH will hang during connection. If you repeat the same tests as above, but using fedora-24, it works fine. By lookin...
2020 Jun 05
0
[PATCH RFC v4 00/13] virtio-mem: paravirtualized memory
...-system-x86_64 --enable-kvm \ > -m 2G,maxmem=16G -kernel /root/linux-next/$1/arch/x86/boot/bzImage \ > -smp 4 \ > -append "earlyprintk=ttyS0 root=/dev/sda1 console=ttyS0 debug psi=1 nokaslr ignore_loglevel" \ > -hda /root/CentOS-7-x86_64-Azure-1703.qcow2 \ > -net user,hostfwd=tcp::2222-:22 -net nic -s \ > -object memory-backend-ram,id=mem0,size=3G \ > -device virtio-mem-pci,id=vm0,memdev=mem0,node=0,requested-size=0M \ > --nographic > > -- Thanks, David / dhildenb
2017 Jul 26
0
qemu-system-x86_64 does not support fw_cfg option
...< > https://qemu.weilnetz.de/doc/qemu-doc.html#Debug_002fExpert-options>, > they support this option. > > The command used to run the vm is: > > /usr/bin/qemu-system-x86_64 -name CL-IGN-1 -m 1024 \ > -net nic,vlan=0,model=virtio \ > -net user,vlan=0,hostfwd=tcp::2222-:22,hostname=CL-IGN-1 \ > -drive if=virtio,file=./coreos_production_qemu_image.img \ > -fw_cfg name=opt/com.coreos/config,file=./CL-IGN-1.ignconfig > > qemu-system-x86_64: -fw_cfg: invalid option > > I also tried using /usr/libexec/qemu-kvm but got the...
2014 Jun 15
2
Re: ERROR: Domain not found: no domain with matching name 'ubuntu'
...r=mac][,model=type][,name=str][,addr=str][,vectors=v] create a new Network Interface Card and connect it to VLAN 'n' -net user[,vlan=n][,name=str][,net=addr[/mask]][,host=addr][,restrict=on|off] [,hostname=host][,dhcpstart=addr][,dns=addr][,tftp=dir][,bootfile=f] [,hostfwd=rule][,guestfwd=rule][,smb=dir[,smbserver=addr]] connect the user mode network stack to VLAN 'n', configure its DHCP server and enabled optional services -net tap[,vlan=n][,name=str][,fd=h][,ifname=name][,script=file][,downscript=dfile][,helper=helper][,sndbu...
2014 Jun 12
3
ERROR: Domain not found: no domain with matching name 'ubuntu'
Hi guys, I am new to QEMU-KVM, libvmi and libvirt stuff. Libvmi uses libvirt. I am trying to to run process-list example of libvmi and getting error as below. It seems that this error may be due to libvirt as it is not able to find domain. I seek your kind help on below error: spanhal1@seclab2:~/KVMModule/libvmi-0.10.1$ sudo ./examples/process-list ubuntu libvir: QEMU error : Domain not found:
2013 Nov 04
2
[virtio_blk] WARNING: CPU: 0 PID: 1 at fs/sysfs/dir.c:526 sysfs_add_one()
...231845ff585d2-20131018232355-7-ant branch=linux-devel/devel-hourly-2013101822 BOOT_IMAGE=/kernel/x86_64-lkp/25d8333ad6fc71906caff0e3632231845ff585d2/vmlinuz-3.12.0-rc5-02277-g25d8333 noapic nolapic nohz=off' -m 512M -smp 2 -net nic,vlan=0,macaddr=00:00:00:00:00:00,model=virtio -net user,vlan=0,hostfwd=tcp::17386-:22 -net nic,vlan=1,model=e1000 -net user,vlan=1 -boot order=nc -no-reboot -watchdog i6300esb -drive file=/fs/sdc1/disk0-nfsroot-ant-10,media=disk,if=virtio -drive file=/fs/sdc1/disk1-nfsroot-ant-10,media=disk,if=virtio -drive file=/fs/sdc1/disk2-nfsroot-ant-10,media=disk,if=virtio -driv...
2013 Nov 04
2
[virtio_blk] WARNING: CPU: 0 PID: 1 at fs/sysfs/dir.c:526 sysfs_add_one()
...231845ff585d2-20131018232355-7-ant branch=linux-devel/devel-hourly-2013101822 BOOT_IMAGE=/kernel/x86_64-lkp/25d8333ad6fc71906caff0e3632231845ff585d2/vmlinuz-3.12.0-rc5-02277-g25d8333 noapic nolapic nohz=off' -m 512M -smp 2 -net nic,vlan=0,macaddr=00:00:00:00:00:00,model=virtio -net user,vlan=0,hostfwd=tcp::17386-:22 -net nic,vlan=1,model=e1000 -net user,vlan=1 -boot order=nc -no-reboot -watchdog i6300esb -drive file=/fs/sdc1/disk0-nfsroot-ant-10,media=disk,if=virtio -drive file=/fs/sdc1/disk1-nfsroot-ant-10,media=disk,if=virtio -drive file=/fs/sdc1/disk2-nfsroot-ant-10,media=disk,if=virtio -driv...
2013 Oct 20
3
[virtio-net] BUG: sleeping function called from invalid context at kernel/mutex.c:616
...44a923c-20131019065945-3-waimea branch=linux-devel/devel-inn-x86_64-201310190634 BOOT_IMAGE=/kernel/x86_64-lkp-CONFIG_SCSI_DEBUG/b91e82dc6ad55f2d39b92e731c6bb95cc44a923c/vmlinuz-3.12.0-rc5-wl-01249-gb91e82d' -m 512M -smp 2 -net nic,vlan=0,macaddr=00:00:00:00:00:00,model=virtio -net user,vlan=0,hostfwd=tcp::18248-:22 -net nic,vlan=1,model=e1000 -net user,vlan=1 -boot order=nc -no-reboot -watchdog i6300esb -soundhw hda -drive file=/fs/LABEL=KVM/disk0-nfsroot-waimea-6,media=disk,if=virtio -drive file=/fs/LABEL=KVM/disk1-nfsroot-waimea-6,media=disk,if=virtio -drive file=/fs/LABEL=KVM/disk2-nfsroot-w...
2013 Oct 20
3
[virtio-net] BUG: sleeping function called from invalid context at kernel/mutex.c:616
...44a923c-20131019065945-3-waimea branch=linux-devel/devel-inn-x86_64-201310190634 BOOT_IMAGE=/kernel/x86_64-lkp-CONFIG_SCSI_DEBUG/b91e82dc6ad55f2d39b92e731c6bb95cc44a923c/vmlinuz-3.12.0-rc5-wl-01249-gb91e82d' -m 512M -smp 2 -net nic,vlan=0,macaddr=00:00:00:00:00:00,model=virtio -net user,vlan=0,hostfwd=tcp::18248-:22 -net nic,vlan=1,model=e1000 -net user,vlan=1 -boot order=nc -no-reboot -watchdog i6300esb -soundhw hda -drive file=/fs/LABEL=KVM/disk0-nfsroot-waimea-6,media=disk,if=virtio -drive file=/fs/LABEL=KVM/disk1-nfsroot-waimea-6,media=disk,if=virtio -drive file=/fs/LABEL=KVM/disk2-nfsroot-w...
2013 Oct 06
40
[xen] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
Greetings, I got the below dmesg and the first bad commit is commit cf39c8e5352b4fb9efedfe7e9acb566a85ed847c Merge: 3398d25 23b7eaf Author: Linus Torvalds <torvalds@linux-foundation.org> Date: Wed Sep 4 17:45:39 2013 -0700 Merge tag ''stable/for-linus-3.12-rc0-tag'' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip Pull Xen updates from Konrad