Files
domo/projects/x86_64_domo/qemu-args.mk

25 lines
916 B
Makefile

# Tips:
# * the monitor console is multiplexed with the serial line; to switch between the two, hit "CTRL-a c"
# * create a TAP virtual ethernet device named 'tap0':
# sudo ip tuntap add dev tap0 mode tap user $USER
# * connect a TAP device to a bridge 'bridge0':
# sudo ip link set tap0 master bridge0 up
# forward an usb device to the guest, by bus/device
#QEMU_ARGS += -usbdevice host:4.32
# forward an usb device to the guest, by vendor/product
#QEMU_ARGS += -usbdevice host:050d:016a
# emulate a sound card
QEMU_ARGS += -soundhw ac97
# wait for a gdb remote connection on port 1234 (kernel debug).
#QEMU_ARGS += -gdb tcp::1234
# create a virtual ethernet interface and plug it with tap0
QEMU_ARGS += -netdev tap,id=tap0,ifname=tap0,script=no,downscript=no -device virtio-net,netdev=tap0
# add a second serial port for debugging
QEMU_ARGS += -device pci-serial,chardev=gdb -chardev pty,id=gdb