diff options
author | Jon Mason <jdmason@kudzu.us> | 2021-03-10 18:05:31 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-11 14:00:36 +0000 |
commit | bd0ada8994ce3c1cb3a2d67dc9e8fae5c348118e (patch) | |
tree | e3f52e31bf30818df860e7d020b2e650bb1b1790 /meta/classes | |
parent | f4adaac783671def758dcccb8e2533f47e1daf3a (diff) | |
download | poky-bd0ada8994ce3c1cb3a2d67dc9e8fae5c348118e.tar.gz |
runqemu: add QB_GRAPHICS
Add a new runqemu field for VGA devices. Currently, these are being set
in QB_OPT_APPEND, which can make them difficult to override if importing
the config file into another one.
(From OE-Core rev: 695c98b6522be4373806c154a2999eaeef205556)
Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I8cb9527954c5b06c083c42fe2466cb3338584b7d
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/qemuboot.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/qemuboot.bbclass b/meta/classes/qemuboot.bbclass index 4b7532b304..8798ad80e6 100644 --- a/meta/classes/qemuboot.bbclass +++ b/meta/classes/qemuboot.bbclass | |||
@@ -72,6 +72,9 @@ | |||
72 | # Can be used to automatically determine the image from the other variables | 72 | # Can be used to automatically determine the image from the other variables |
73 | # but define things link 'bootindex' when booting from EFI or 'readonly' when using squashfs | 73 | # but define things link 'bootindex' when booting from EFI or 'readonly' when using squashfs |
74 | # without the need to specify a dedicated qemu configuration | 74 | # without the need to specify a dedicated qemu configuration |
75 | # | ||
76 | # QB_GRAPHICS: QEMU video card type (e.g. "-vga std") | ||
77 | # | ||
75 | # Usage: | 78 | # Usage: |
76 | # IMAGE_CLASSES += "qemuboot" | 79 | # IMAGE_CLASSES += "qemuboot" |
77 | # See "runqemu help" for more info | 80 | # See "runqemu help" for more info |
@@ -86,6 +89,7 @@ QB_NETWORK_DEVICE ?= "-device virtio-net-pci,netdev=net0,mac=@MAC@" | |||
86 | QB_CMDLINE_IP_SLIRP ?= "ip=dhcp" | 89 | QB_CMDLINE_IP_SLIRP ?= "ip=dhcp" |
87 | QB_CMDLINE_IP_TAP ?= "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0" | 90 | QB_CMDLINE_IP_TAP ?= "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0" |
88 | QB_ROOTFS_EXTRA_OPT ?= "" | 91 | QB_ROOTFS_EXTRA_OPT ?= "" |
92 | QB_GRAPHICS ?= "" | ||
89 | 93 | ||
90 | # This should be kept align with ROOT_VM | 94 | # This should be kept align with ROOT_VM |
91 | QB_DRIVE_TYPE ?= "/dev/sd" | 95 | QB_DRIVE_TYPE ?= "/dev/sd" |