我有以下配置(输出来自xm list --long
):
(hvm
(kernel '')
(superpages 0)
(videoram 16)
(hpet 0)
(stdvga 1)
(loader /usr/lib/xen/boot/hvmloader)
(smbios_firmware '')
(xen_platform_pci 1)
(nestedhvm 0)
(rtc_timeoffset 0)
(pci ())
(hap 1)
(localtime 0)
(xenpaging_extra ())
(actmem 0)
(pci_msitranslate 1)
(oos 1)
(apic 1)
(acpi_firmware '')
(usbdevice mouse)
(xenpaging_file '')
(timer_mode 1)
(vpt_align 1)
(serial pty)
(vncunused 1)
(boot c)
(pae 1)
(viridian 0)
(acpi 1)
(vnc 1)
(nographic 0)
(watchdog_action reset)
(nomigrate 0)
(usb 1)
(tsc_mode 0)
(guest_os_type default)
(device_model /usr/lib/xen/bin/qemu-dm)
(keymap en-us)
(pci_power_mgmt 0)
(xauthority /root/.Xauthority)
(isa 0)
(notes (SUSPEND_CANCEL 1))
)
请注意 stdvga=1 和 videoram=16。这是lspci -s 00:02.0 -vvv
来宾的输出:
lspci -s 00:02.0 -vvv
00:02.0 VGA compatible controller: Device 1234:1111 (prog-if 00 [VGA controller])
Subsystem: XenSource, Inc. Device 0001
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Region 0: Memory at f0000000 (32-bit, prefetchable) [size=16M]
Expansion ROM at <unassigned> [disabled]
我仍然只能获得 1024x768 和 800x600 的分辨率。我究竟做错了什么?