DEV Community

loading...

Discussion on: Using Qemu on Windows 10 Home Edition

Collapse
sandyware profile image
SandyWare • Edited

OS : Windows 10 professional.

below command work for me.

qemu-system-x86_64.exe -accel whpx -drive file=hda.img,index=0,media=disk,format=raw -cdrom ./ubuntu-20.04.2.0-desktop-amd64.iso -m 4G -L Bios -usbdevice mouse -usbdevice keyboard -boot menu=on -rtc base=localtime,clock=host -parallel none -serial none -name ubuntu-20 -no-acpi -no-hpet -no-reboot -soundhw all -L "C:\Program Files\qemu"

But it failed to understand -usbdevice mouse and keyboard.
Error :
-usbdevice mouse: '-usbdevice' is deprecated, please use '-device usb-...' instead

How I can add -usbdevice mouse and keyboard ?
Any suggestion is appreciated.

Forem Open with the Forem app