New answers tagged qemu
I think that the error does not come from the -net statement, but from: -chardev socket,host=localhost,port=7777,server,nowait,id=port1-char The statement uses already the port 7777. For the port forwarding, with -net user,hostfwd=tcp::7777-:8001 it works fine when not setting up the virtio serial channel. If I understand right, you want to set up a ...
I believe you need to use hostfwd=tcp::7777-:8001 or hostfwd=tcp::7777:8001
What kind of errors do you get? Ex: user@marconi ~ $ sudo qemu-system-x86_64 -usb -usbdevice disk:/mnt/usbdrive qemu-system-x86_64: -usbdevice disk:/mnt/usbdrive: could not open disk image /mnt/usbdrive: Is a directory qemu: could not add USB device 'disk:/mnt/usbdrive' If you see something similar, the problem is that you are providing a filesystem ...
I have image of Fedora-netinstall on my USB drive, and I tried this two, and both works fine for me: $ sudo qemu-system-x86_64 -cdrom /dev/sdb $ sudo qemu-system-x86_64 -hda /dev/sdb
Top 50 recent answers are included