search for: vga_common_init

Displaying 6 results from an estimated 6 matches for "vga_common_init".

2011 Jul 21
51
Linux Stubdom Problem
...signal is generated. >> >> >> >>     I believe the qemu is trying to vist vram in this moment. This >> >> code seems no problem, and I will continue to find the root cause. >> >> >> > >> > The vram is allocated by qemu, see hw/vga.c:vga_common_init. >> > qemu_ram_alloc under xen ends up calling xen_ram_alloc that calls >> > xc_domain_populate_physmap_exact. >> > xc_domain_populate_physmap_exact is the hypercall that should ask Xen to >> > add the missing vram pages in the guest. Maybe this hypercall is fail...
2006 Jul 26
4
[PATCH] Add lost logic for VGA initialization
This patch adds lost logic for vga initialization. It was lost after changing to new Qemu. Signed-off-by : Kevin Tian <kevin.tian@intel.com> Signed-off-by : Zhang Xiantao <xiantao.zhang@intel.com> Thanks & Best Regards -Xiantao OTC,Intel Corporation _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2006 Jun 02
1
Re: [Xen-changelog] [xen-unstable] [IA64][HVM] Enable CGA acceleration for VTI.
...ern int vga_accelerate; > > /* Compute the memory access functions */ > diff -r 639ad22eb7c8 -r e67432187b88 tools/ioemu/hw/vga.c > --- a/tools/ioemu/hw/vga.c Fri Jun 02 09:15:51 2006 +0100 > +++ b/tools/ioemu/hw/vga.c Fri Jun 02 09:20:58 2006 +0100 > @@ -1995,6 +1995,7 @@ void vga_common_init(VGAState *s, Displa > s->get_resolution = vga_get_resolution; > /* XXX: currently needed for display */ > vga_state = s; > + vga_bios_init(s); > } > > > @@ -2082,7 +2083,6 @@ int vga_initialize(PCIBus *bus, DisplayS > #endif > } > &...
2011 Jul 18
1
Re: trip to shanghai
...53e address, the SIGSEGV signal is generated. > >> > >>     I believe the qemu is trying to vist vram in this moment. This > >> code seems no problem, and I will continue to find the root cause. > >> > > > > The vram is allocated by qemu, see hw/vga.c:vga_common_init. > > qemu_ram_alloc under xen ends up calling xen_ram_alloc that calls > > xc_domain_populate_physmap_exact. > > xc_domain_populate_physmap_exact is the hypercall that should ask Xen to > > add the missing vram pages in the guest. Maybe this hypercall is failing > > in...
2006 Mar 16
0
[PATCH 3a/3] Add shadow VRAM
...s->depth == 0) { /* nothing to do */ @@ -1569,7 +1661,6 @@ void vga_update_display(void) full_update = 1; } - full_update = 1; switch(graphic_mode) { case GMODE_TEXT: vga_draw_text(s, full_update); @@ -1874,7 +1965,10 @@ void vga_common_init(VGAState *s, Displa #else s->vram_ptr = qemu_malloc(vga_ram_size); #endif - + check_sse2(); + if ((s->vram_shadow = qemu_malloc(vga_ram_size+TARGET_PAGE_SIZE+1)) == NULL) + fprintf(stderr, "Cannot allocate %d bytes for VRAM shadow, mouse will be slow\n", vga_ram_size);...
2012 Jan 24
2
[PATCH 26/28] pci: convert to QEMU Object Model
...ate *s = &d->cirrus_vga; - PCIDeviceInfo *info = DO_UPCAST(PCIDeviceInfo, qdev, qdev_get_info(&dev->qdev)); - int16_t device_id = info->device_id; + PCIDeviceClass *pc = PCI_DEVICE_GET_CLASS(dev); + int16_t device_id = pc->device_id; /* setup VGA */ vga_common_init(&s->vga, VGA_RAM_SIZE); @@ -2970,17 +2970,24 @@ DeviceState *pci_cirrus_vga_init(PCIBus *bus) return &pci_create_simple(bus, -1, "cirrus-vga")->qdev; } -static PCIDeviceInfo cirrus_vga_info = { - .qdev.name = "cirrus-vga", - .qdev.desc = "C...