Skip to content

Commit

Permalink
pillar/kvm_test: reflect QEMU config changes
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rouming committed Nov 3, 2023
1 parent 36d0b98 commit f94f6ee
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkg/pillar/hypervisor/kvm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ func TestCreateDomConfigOnlyCom1(t *testing.T) {
name = "org.lfedge.eve.console.0"
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down Expand Up @@ -443,6 +445,8 @@ func TestCreateDomConfigOnlyCom1(t *testing.T) {
name = "org.lfedge.eve.console.0"
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down Expand Up @@ -681,6 +685,8 @@ func TestCreateDomConfigOnlyCom1(t *testing.T) {
name = "org.lfedge.eve.console.0"
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down Expand Up @@ -1117,6 +1123,8 @@ func domConfigArm64() string {
name = "org.lfedge.eve.console.0"
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down Expand Up @@ -1396,6 +1404,8 @@ func domConfigAmd64FML() string {
name = "org.lfedge.eve.console.0"
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down Expand Up @@ -1686,6 +1696,8 @@ func domConfigAmd64Legacy() string {
name = "org.lfedge.eve.console.0"
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down Expand Up @@ -1967,6 +1979,8 @@ func domConfigAmd64() string {
name = "org.lfedge.eve.console.0"
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down

0 comments on commit f94f6ee

Please sign in to comment.