Skip to content

Commit

Permalink
pillar/hypervisor/kvm_test: reflect latest changes in kvm.go
Browse files Browse the repository at this point in the history
Make tests pass.

Signed-off-by: Roman Penyaev <[email protected]>
  • Loading branch information
rouming committed Feb 12, 2025
1 parent 9b98963 commit 40906a1
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions pkg/pillar/hypervisor/kvm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ func TestCreateDomConfigOnlyCom1(t *testing.T) {
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down Expand Up @@ -493,7 +492,6 @@ func TestCreateDomConfigOnlyCom1(t *testing.T) {
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down Expand Up @@ -746,7 +744,6 @@ func TestCreateDomConfigOnlyCom1(t *testing.T) {
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down Expand Up @@ -1221,7 +1218,6 @@ func domConfigArm64() string {
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down Expand Up @@ -1523,7 +1519,6 @@ func domConfigAmd64FML() string {
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down Expand Up @@ -1824,7 +1819,6 @@ func domConfigAmd64Legacy() string {
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down Expand Up @@ -2113,7 +2107,6 @@ func domConfigAmd64() string {
#[device "video0"]
# driver = "qxl-vga"
# ram_size = "67108864"
Expand Down Expand Up @@ -2398,27 +2391,26 @@ func domConfigContainerVNC() string {
chardev = "charserial0"
name = "org.lfedge.eve.console.0"
[chardev "charserial1"]
backend = "socket"
mux = "on"
path = "/run/hypervisor/kvm/%s/shim-cons"
server = "on"
wait = "off"
logfile = "/dev/fd/1"
logappend = "on"
[device]
driver = "virtconsole"
chardev = "charserial1"
name = "org.lfedge.eve.console.shim"
[chardev "charserial2"]
backend = "vc"
[chardev "charhub0"]
backend = "hub"
chardevs.0 = "charserial1"
chardevs.1 = "charserial2"
logfile = "/dev/fd/1"
logappend = "on"
[device]
driver = "virtconsole"
chardev = "charserial2"
name = "org.lfedge.eve.console.shim.forvnc"
chardev = "charhub0"
name = "org.lfedge.eve.console.shim"
[vnc "default"]
Expand Down

0 comments on commit 40906a1

Please sign in to comment.