Displaying 10 results from an estimated 10 matches for "phys_ram_base".
2007 Dec 10
10
[PATCH] ioemu/qemu vga: save and restore vram buffer
The existing stdvga driver from xen-unstable tools/ioemu/hw/vga* does
not save the emulated VGA memory contents. The symptoms include video
malfunction after restore, including black screen (which can often be
fixed by asking the guest to redraw) but also missing font setup etc.
The attached patch fixes this by saving the entire VGA memory buffer,
just like the Xen ioemu Cirrus emulator does.
I
2008 Jan 08
1
[PATCH] QEMU KVM balloon support
...@
#endif
#include <sys/wait.h>
+#include <sys/mman.h>
#define MIN_FINALIZE_SIZE (200 << 10)
#define MAX_ITERATIONS 30
@@ -765,6 +766,9 @@ static void migrate_incoming_homogeneous
for (i=0; i<n; i++)
p[i] = v;
+
+ if (v == 0)
+ madvise(phys_ram_base + addr, TARGET_PAGE_SIZE, MADV_DONTNEED);
}
static int migrate_incoming_page(QEMUFile *f, uint32_t addr)
Index: kvm-userspace/qemu/monitor.c
===================================================================
--- kvm-userspace.orig/qemu/monitor.c
+++ kvm-userspace/qemu/monitor.c
@@ -1339,6 +133...
2008 Jan 08
1
[PATCH] QEMU KVM balloon support
...@
#endif
#include <sys/wait.h>
+#include <sys/mman.h>
#define MIN_FINALIZE_SIZE (200 << 10)
#define MAX_ITERATIONS 30
@@ -765,6 +766,9 @@ static void migrate_incoming_homogeneous
for (i=0; i<n; i++)
p[i] = v;
+
+ if (v == 0)
+ madvise(phys_ram_base + addr, TARGET_PAGE_SIZE, MADV_DONTNEED);
}
static int migrate_incoming_page(QEMUFile *f, uint32_t addr)
Index: kvm-userspace/qemu/monitor.c
===================================================================
--- kvm-userspace.orig/qemu/monitor.c
+++ kvm-userspace/qemu/monitor.c
@@ -1339,6 +133...
2008 Dec 12
22
Disabling cirrus-vga
Hi xen developers,
Does any of you know how to disable the cirrus-vga emulation for hvm in xen?
I have been trying to disable that from the source codes, but even with
that, I still see a VGA controller when I boot up my guest domain. In
particular, I would like to do this because I am passing through a graphics
card to my guest domain using direct pass through.
Thanks,
- billy
2005 May 24
0
[PATCH] qemu-unregister-c0000.patch
...ixes
- VMX domain owns 0xcxxxx.
- guard the fprintf with a log level check
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
--- 1.1/tools/ioemu/hw/pc.c 2005-05-19 15:04:52 -07:00
+++ edited/tools/ioemu/hw/pc.c 2005-05-23 16:37:18 -07:00
@@ -419,11 +419,11 @@
ret = load_image(buf, phys_ram_base + vga_bios_offset);
#endif
+#ifndef NOBIOS
/* setup basic memory access */
cpu_register_physical_memory(0xc0000, 0x10000,
vga_bios_offset | IO_MEM_ROM);
-#ifndef NOBIOS
/* map the last 128KB of the BIOS in ISA space */
isa_bios_size = bio...
2005 May 27
0
[PATCH] ioemu: enable Cirrus VGA emulation
...g/tools/ioemu/hw/vga.c xeno-unstable.mine/tools/ioemu/hw/vga.c
--- xeno-unstable.orig/tools/ioemu/hw/vga.c 2005-05-19 23:15:49.000000000 -0400
+++ xeno-unstable.mine/tools/ioemu/hw/vga.c 2005-05-27 15:34:51.000000000 -0400
@@ -1877,7 +1877,7 @@
/* qemu''s vga mem is not detached from phys_ram_base and can cause DM abort
* when guest write vga mem, so allocate a new one */
- s->vram_ptr = qemu_mallocz(256 * 1024);
+ s->vram_ptr = qemu_mallocz(vga_ram_size);
s->vram_offset = vga_ram_offset;
s->vram_size = vga_ram_size;
Only in xeno-unstable.mine/tools/ioemu/...
2007 Dec 21
0
[Virtio-for-kvm] [PATCH 1/7] userspace virtio
...vring.desc[i].flags & VRING_DESC_F_WRITE)
+ sg = &elem->in_sg[elem->in_num++];
+ else
+ sg = &elem->out_sg[elem->out_num++];
+
+ /* Grab the first descriptor, and check it's OK. */
+ sg->iov_len = vq->vring.desc[i].len;
+ sg->iov_base = phys_ram_base + vq->vring.desc[i].addr;
+
+ /* If we've got too many, that implies a descriptor loop. */
+ if ((elem->in_num + elem->out_num) > vq->vring.num)
+ errx(1, "Looped descriptor");
+ } while ((i = virtqueue_next_desc(vq, i)) != vq->vring.num);
+
+ elem...
2007 Dec 21
0
[Virtio-for-kvm] [PATCH 1/7] userspace virtio
...vring.desc[i].flags & VRING_DESC_F_WRITE)
+ sg = &elem->in_sg[elem->in_num++];
+ else
+ sg = &elem->out_sg[elem->out_num++];
+
+ /* Grab the first descriptor, and check it's OK. */
+ sg->iov_len = vq->vring.desc[i].len;
+ sg->iov_base = phys_ram_base + vq->vring.desc[i].addr;
+
+ /* If we've got too many, that implies a descriptor loop. */
+ if ((elem->in_num + elem->out_num) > vq->vring.num)
+ errx(1, "Looped descriptor");
+ } while ((i = virtqueue_next_desc(vq, i)) != vq->vring.num);
+
+ elem...
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled
functionality into the qemu-dm code. The general approach taken is to have
qemu-dm provide two machine types - one for xen paravirt, the other for
fullyvirt. For compatability the later is the default. The goals overall
are to kill LibVNCServer, remove alot of code duplication and/or parallel
impls of the same concepts, and
2010 Aug 12
59
[PATCH 00/15] RFC xen device model support
Hi all,
this is the long awaited patch series to add xen device model support in
qemu; the main author is Anthony Perard.
Developing this series we tried to come up with the cleanest possible
solution from the qemu point of view, limiting the amount of changes to
common code as much as possible. The end result still requires a couple
of hooks in piix_pci but overall the impact should be very