From 83d20fca779612cc7d909a728b07124da7d7bcf2 Mon Sep 17 00:00:00 2001 From: Roman Penyaev Date: Fri, 3 Nov 2023 16:48:27 +0100 Subject: [PATCH] pillar/kvm_test: reflect QEMU config changes Every change in the QEMU config in the 'kvm.go' should be reflected in the corresponding 'kvm_test.go' file, otherwise unit-test fails. Signed-off-by: Roman Penyaev --- pkg/pillar/hypervisor/kvm_test.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkg/pillar/hypervisor/kvm_test.go b/pkg/pillar/hypervisor/kvm_test.go index 04fa2eef385..c19973a2d88 100644 --- a/pkg/pillar/hypervisor/kvm_test.go +++ b/pkg/pillar/hypervisor/kvm_test.go @@ -181,6 +181,8 @@ func TestCreateDomConfigOnlyCom1(t *testing.T) { name = "org.lfedge.eve.console.0" + + #[device "video0"] # driver = "qxl-vga" # ram_size = "67108864" @@ -443,6 +445,8 @@ func TestCreateDomConfigOnlyCom1(t *testing.T) { name = "org.lfedge.eve.console.0" + + #[device "video0"] # driver = "qxl-vga" # ram_size = "67108864" @@ -681,6 +685,8 @@ func TestCreateDomConfigOnlyCom1(t *testing.T) { name = "org.lfedge.eve.console.0" + + #[device "video0"] # driver = "qxl-vga" # ram_size = "67108864" @@ -1117,6 +1123,8 @@ func domConfigArm64() string { name = "org.lfedge.eve.console.0" + + #[device "video0"] # driver = "qxl-vga" # ram_size = "67108864" @@ -1396,6 +1404,8 @@ func domConfigAmd64FML() string { name = "org.lfedge.eve.console.0" + + #[device "video0"] # driver = "qxl-vga" # ram_size = "67108864" @@ -1686,6 +1696,8 @@ func domConfigAmd64Legacy() string { name = "org.lfedge.eve.console.0" + + #[device "video0"] # driver = "qxl-vga" # ram_size = "67108864" @@ -1967,6 +1979,8 @@ func domConfigAmd64() string { name = "org.lfedge.eve.console.0" + + #[device "video0"] # driver = "qxl-vga" # ram_size = "67108864"