Skip to main content
Added link to the similar post
Source Link

You need to add a device to your VM. For example, if you decided to use VGA adapter (mode), your code should look like this:

qemu-system-x86_64 -enable-kvm -m 4G -cdrom "OS.iso" -boot order=c -drive file=image_file,if=virtio -device VGA,vgamem_mb=256

You can get the list of the devices that is possible to add to the VM by running the following command (print a list of QEMU supported devices by category):

qemu-system-x86_64 -device help

Additionally, the options per device can be determined by running:

qemu-system-x86_64 -device device_name,help

For the example with VGA adapter:

qemu-system-z86_64 -device VGA,help

Hope this will helpHere is a similar post:) How to set video memory with KVM/QEMU virtualization?

You need to add a device to your VM. For example, if you decided to use VGA adapter (mode), your code should look like this:

qemu-system-x86_64 -enable-kvm -m 4G -cdrom "OS.iso" -boot order=c -drive file=image_file,if=virtio -device VGA,vgamem_mb=256

You can get the list of the devices that is possible to add to the VM by running the following command (print a list of QEMU supported devices by category):

qemu-system-x86_64 -device help

Additionally, the options per device can be determined by running:

qemu-system-x86_64 -device device_name,help

For the example with VGA adapter:

qemu-system-z86_64 -device VGA,help

Hope this will help:)

You need to add a device to your VM. For example, if you decided to use VGA adapter (mode), your code should look like this:

qemu-system-x86_64 -enable-kvm -m 4G -cdrom "OS.iso" -boot order=c -drive file=image_file,if=virtio -device VGA,vgamem_mb=256

You can get the list of the devices that is possible to add to the VM by running the following command (print a list of QEMU supported devices by category):

qemu-system-x86_64 -device help

Additionally, the options per device can be determined by running:

qemu-system-x86_64 -device device_name,help

For the example with VGA adapter:

qemu-system-z86_64 -device VGA,help

Here is a similar post: How to set video memory with KVM/QEMU virtualization?

Source Link

You need to add a device to your VM. For example, if you decided to use VGA adapter (mode), your code should look like this:

qemu-system-x86_64 -enable-kvm -m 4G -cdrom "OS.iso" -boot order=c -drive file=image_file,if=virtio -device VGA,vgamem_mb=256

You can get the list of the devices that is possible to add to the VM by running the following command (print a list of QEMU supported devices by category):

qemu-system-x86_64 -device help

Additionally, the options per device can be determined by running:

qemu-system-x86_64 -device device_name,help

For the example with VGA adapter:

qemu-system-z86_64 -device VGA,help

Hope this will help:)