Skip to content

Disable VGA device at all when vga=none#14

Open
timemaster5 wants to merge 1 commit intoxcp-ng:masterfrom
timemaster5:vga-none-fix
Open

Disable VGA device at all when vga=none#14
timemaster5 wants to merge 1 commit intoxcp-ng:masterfrom
timemaster5:vga-none-fix

Conversation

@timemaster5
Copy link
Copy Markdown

When VGA is turned off in XO or manually set up as vga=none, the -device VGA is replaced with -device cirrus-vga.

This is a fix for qemu-wrapper that omits any VGA device when vga=none.

Currently when VGA is turned of in XO or by hand setup as vga=none
the -device VGA gets replaced with -device cirrus-vga

Signed-off-by: timemaster5 <timemaster@trillinis.com>

n += 1

if vga_type == 'vgpu':
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not going to break compatibility by changing the meaning of none here.

passthrough GPUs should already be handled by overriding vga_type in xenopsd. how did you set up passthrough in xapi?

Copy link
Copy Markdown
Member

@TSnake41 TSnake41 Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the actual meaning of vga=none ? I can't find none as a "video card" kind (in xenops types).
Xen Orchestra consider disabling VGA as "use Cirrus".

I think the user is looking for a equivalent of vga = "none" of xl, which is basically skip adding a emulated VGA device in the guest (which is not the same as using QEMU stdvga, no vga would lead to no display of course).

That could help forcing a passed-through GPU being the primary one (by being the only one).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants