This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qemu-system-x86_64 \ | |
-enable-kvm -M q35 -localtime -usb -name Windows `# General options` \ | |
-monitor /dev/tty -nographic -vga none -serial none `# Graphic options` \ | |
-cpu host,kvm=off -smp 1,sockets=1,cores=1,threads=1 `# CPU Options` \ | |
-m 1024 `# Memory` \ | |
-bios /usr/share/qemu/bios.bin `# BIOS` \ | |
-device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 `# PCIe Bus` \ | |
-device vfio-pci,host=02:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on `# Graphics card` \ | |
-device vfio-pci,host=02:00.1,bus=root.1,addr=00.1 `# Graphics card sound` \ | |
-device virtio-scsi-pci,id=scsi `# SCSI controller` \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qemu-system-x86_64 \ | |
-enable-kvm -M q35 -localtime -name Windows `# General options` \ | |
-monitor /dev/tty -nographic -vga none -serial none `# Graphic options` \ | |
-cpu host,kvm=off -smp 1,sockets=1,cores=1,threads=1 `# CPU Options` \ | |
-m 1024 `# Memory` \ | |
-bios /usr/share/qemu/bios.bin `# BIOS` \ | |
-device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 `# PCIe Bus` \ | |
-device vfio-pci,host=02:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on `# Graphics card` \ | |
-device vfio-pci,host=02:00.1,bus=root.1,addr=00.1 `# Graphics card sound` \ | |
-device virtio-scsi-pci,id=scsi `# SCSI controller` \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qemu-system-x86_64 \ | |
-enable-kvm -M q35 -localtime -name Windows `# General options` \ | |
-monitor /dev/tty -nographic -vga none -serial none `# Graphic options` \ | |
-cpu host,kvm=off -smp 1,sockets=1,cores=1,threads=1 `# CPU Options` \ | |
-m 1024 `# Memory` \ | |
-bios /usr/share/qemu/bios.bin `# BIOS` \ | |
-device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 `# PCIe Bus` \ | |
-device vfio-pci,host=02:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on `# Graphics card` \ | |
-device vfio-pci,host=02:00.1,bus=root.1,addr=00.1 `# Graphics card sound` \ | |
-device virtio-scsi-pci,id=scsi `# SCSI controller` \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bus 002 Device 003: ID 04d9:a055 Holtek Semiconductor, Inc. Keyboard | |
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub | |
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | |
Bus 001 Device 003: ID e0ff:0005 | |
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub | |
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | |
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub | |
Bus 003 Device 002: ID 1532:011b Razer USA, Ltd | |
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qemu-system-x86_64 -enable-kvm -device nec-usb-xhci -device usb-host,vendorid=0x1532,productid=0x011b -boot menu=on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo qemu-system-x86_64 -enable-kvm -rtc base=localtime -name Windows -cpu host -m 1G -drive file=/home/vincent/arch.iso,media=cdrom -boot menu=on -device nec-usb-xhci -device usb-host,vendorid=0x1532,productid=0x011b -device vfio-pci,host=02:00.0,x-vga=on -device vfio-pci,host=02:00.1 -vga none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo qemu-system-x86_64 -enable-kvm -rtc base=localtime -name Windows -cpu host -m 1G -drive file=/home/vincent/arch.iso,media=cdrom,if=virtio -boot menu=on -device nec-usb-xhci -device usb-host,vendorid=0x1532,productid=0x011b -device vfio-pci,host=02:00.0,x-vga=on -device vfio-pci,host=02:00.1 -vga none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo qemu-system-x86_64 -enable-kvm -rtc base=localtime -name Windows -cpu host -m 1G -drive if=pflash,format=raw,file=/usr/share/ovmf/x64/ovmf_code_x64.bin -drive if=pflash,format=raw,file=/usr/share/ovmf/x64/ovmf_vars_x64.bin -drive file=/home/vincent/arch.iso,media=cdrom,if=virtio -boot menu=on -device nec-usb-xhci -device usb-host,vendorid=0x1532,productid=0x011b -device vfio-pci,host=02:00.0,x-vga=on -device vfio-pci,host=02:00.1 -vga none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@kappa vincent]# dmesg | grep vfio | |
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=dfb4ca96-6a1b-427c-be0b-96281bf7442f rw cryptdevice=/dev/sdb3:luks:allow-discards quiet intel_iommu=on rd.modules-load=vfio-pci pci-stub.ids=1002:679a,1002:aaa0 | |
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=dfb4ca96-6a1b-427c-be0b-96281bf7442f rw cryptdevice=/dev/sdb3:luks:allow-discards quiet intel_iommu=on rd.modules-load=vfio-pci pci-stub.ids=1002:679a,1002:aaa0 | |
[ 0.457455] vfio_pci: add [1002:679a[ffff:ffff]] class 0x000000/00000000 | |
[ 0.470781] vfio_pci: add [1002:aaa0[ffff:ffff]] class 0x000000/00000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kappa% dmesg | grep vfio | |
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=dfb4ca96-6a1b-427c-be0b-96281bf7442f rw cryptdevice=/dev/sdb3:luks:allow-discards quiet intel_iommu=on rd.modules-load=vfio-pci pci-stub.ids=1002:679a,1002:aaa0 | |
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=dfb4ca96-6a1b-427c-be0b-96281bf7442f rw cryptdevice=/dev/sdb3:luks:allow-discards quiet intel_iommu=on rd.modules-load=vfio-pci pci-stub.ids=1002:679a,1002:aaa0 | |
[ 0.457455] vfio_pci: add [1002:679a[ffff:ffff]] class 0x000000/00000000 | |
[ 0.470781] vfio_pci: add [1002:aaa0[ffff:ffff]] class 0x000000/00000000 | |
[ 551.012947] vfio-pci 0000:02:00.0: enabling device (0100 -> 0103) | |
[ 551.013200] vfio_ecap_init: 0000:02:00.0 hiding ecap 0x19@0x270 | |
[ 551.013215] vfio_ecap_init: 0000:02:00.0 hiding ecap 0x1b@0x2d0 | |
[ 551.029585] vfio-pci 0000:02:00.1: enabling device (0100 -> 0102) |
OlderNewer