pub enum VGA {
Cirrus,
Std,
Vmware,
Qxl,
Tcx,
Cg3,
Virtio,
None,
}Variants§
Cirrus
Cirrus Logic GD5446 Video card. All Windows versions starting from Windows 95 should recognize and use this graphic card. For optimal performances, use 16 bit color depth in the guest and the host OS. (This card was the default before QEMU 2.2)
Std
Standard VGA card with Bochs VBE extensions. If your guest OS supports the VESA 2.0 VBE extensions (e.g. Windows XP) and if you want to use high resolution modes (>= 1280x1024x16) then you should use this option. (This card is the default since QEMU 2.2)
Vmware
VMWare SVGA-II compatible adapter. Use it if you have sufficiently recent XFree86/XOrg server or Windows guest with a driver for this card.
Qxl
QXL paravirtual graphic card. It is VGA compatible (including VESA 2.0 VBE support). Works best with qxl guest drivers installed though. Recommended choice when using the spice protocol.
Tcx
(sun4m only) Sun TCX framebuffer. This is the default framebuffer for sun4m machines and offers both 8-bit and 24-bit colour depths at a fixed resolution of 1024x768.
Cg3
(sun4m only) Sun cgthree framebuffer. This is a simple 8-bit framebuffer for sun4m machines available in both 1024x768 (OpenBIOS) and 1152x900 (OBP) resolutions aimed at people wishing to run older Solaris versions.
Virtio
Virtio VGA card.
None
Disable VGA card.
Trait Implementations§
Source§impl Arbitrary for VGA
impl Arbitrary for VGA
Source§type Parameters = ()
type Parameters = ()
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = TupleUnion<((u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>), (u32, Arc<fn() -> VGA>))>
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Ord for VGA
impl Ord for VGA
Source§impl PartialOrd for VGA
impl PartialOrd for VGA
Source§impl ToCommand for VGA
impl ToCommand for VGA
Source§fn command(&self) -> String
fn command(&self) -> String
std::process::Command::new()Source§fn to_args(&self) -> Vec<String>
fn to_args(&self) -> Vec<String>
std::process::Command::args()fn has_args(&self) -> bool
Source§fn to_command(&self) -> Vec<String>
fn to_command(&self) -> Vec<String>
Source§fn to_single_command(&self) -> String
fn to_single_command(&self) -> String
StringSource§fn to_single_arg(&self) -> String
fn to_single_arg(&self) -> String
String