Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert virtio gpu #180

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
vm-manager (0.6.1) UNRELEASED; urgency=medium

* Bum version to 0.6.1

-- Qi, Yadong <[email protected]> Wed, 11 May 2022 14:14:39 +0800

vm-manager (0.6.0) stable; urgency=medium

* Bump version to 0.6.0
Expand Down
4 changes: 2 additions & 2 deletions src/guest/start.c
Original file line number Diff line number Diff line change
Expand Up @@ -1008,14 +1008,14 @@ int start_guest(char *name)
p += cx; size -= cx;
set_aaf_option(AAF_CONFIG_GPU_TYPE, AAF_GPU_TYPE_GVTD);
} else if (strcmp(val, VGPU_OPTS_VIRTIO_STR) == 0) {
cx = snprintf(p, size, " -display gtk,gl=on -device virtio-vga-gl");
cx = snprintf(p, size, " -display gtk,gl=on -device virtio-gpu-pci");
p += cx; size -= cx;
set_aaf_option(AAF_CONFIG_GPU_TYPE, AAF_GPU_TYPE_VIRTIO);
} else if (strcmp(val, VGPU_OPTS_RAMFB_STR) == 0) {
cx = snprintf(p, size, " -display gtk,gl=on -device ramfb");
p += cx; size -= cx;
} else if (strcmp(val, VGPU_OPTS_VIRTIO2D_STR) == 0) {
cx = snprintf(p, size, " -display gtk,gl=on -device virtio-vga");
cx = snprintf(p, size, " -display gtk,gl=on -device virtio-gpu-pci,virgl=off");
p += cx; size -= cx;
set_aaf_option(AAF_CONFIG_GPU_TYPE, AAF_GPU_TYPE_VIRTIO);
} else if (strcmp(val, VGPU_OPTS_SRIOV_STR) == 0) {
Expand Down
2 changes: 1 addition & 1 deletion src/vm_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#define VERSION_MAJOR 0
#define VERSION_MINOR 6
#define VERSION_MICRO 0
#define VERSION_MICRO 1

#define VERSION xstr(VERSION_MAJOR)"."xstr(VERSION_MINOR)"."xstr(VERSION_MICRO)

Expand Down