Disable VGA device at all when vga=none#14
Conversation
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>
9e44484 to
ff2736d
Compare
|
|
||
| n += 1 | ||
|
|
||
| if vga_type == 'vgpu': |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
There's more context in the related issue: xcp-ng/xcp#744
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.