[Qemu-devel] [Bug 739088] Re: I/O errors after "Save/Restore"

2011-08-20 Thread Yongjie Ren
this issue occurred again. So reopen this bug. I use upstream kvm.git ef7c782ea and qemu-kvm.git 44755ea36. The host is rhel6.1 with lastest kvm and qemu-kvm installed, and its file system type is ext4. here's the dmesg info in rhel5u5 guest after being restored. --

Re: [Qemu-devel] [PATCH] Wire g_new() and friends to the qemu_malloc() family

2011-08-20 Thread Anthony Liguori
On 08/18/2011 12:48 PM, Avi Kivity wrote: This makes the tracing infrastructure available to users of g_new(). Signed-off-by: Avi Kivity Here's my version, adapted to a world with no qemu_malloc. Regards, Anthony Liguori --- qemu-common.h |1 + qemu-malloc.c | 15 +++

Re: [Qemu-devel] [PATCH] Wire g_new() and friends to the qemu_malloc() family

2011-08-20 Thread Anthony Liguori
On 08/20/2011 01:59 AM, Blue Swirl wrote: On Fri, Aug 19, 2011 at 3:22 PM, Avi Kivity wrote: On 08/18/2011 09:54 PM, Peter Maydell wrote: On 18 August 2011 18:48, Avi Kivitywrote: +static GMemVTable gmemvtable = { +.malloc = qemu_malloc, +.realloc = qemu_realloc, +.fr

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Natalia Portillo
El 21/08/2011, a las 01:50, Rob Landley escribió: > On 08/20/2011 07:23 PM, Natalia Portillo wrote: Linux requires the MMU and an almost complete hardware emulation. Standard m68k emulations (UAE, Aranym and specially BasiliskII) try to patch the OS to work. >>> >>> That's kinda sa

Re: [Qemu-devel] [RFC PATCH v4 3/5] separate migration bitmap

2011-08-20 Thread Umesh Deshpande
On 08/19/2011 08:51 AM, Paolo Bonzini wrote: On 08/16/2011 08:56 PM, Umesh Deshpande wrote: @@ -2128,8 +2132,61 @@ void cpu_physical_memory_reset_dirty(ram_addr_t start, ram_addr_t end, start1, length); } } + } +void migration_bitmap_reset_

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Rob Landley
On 08/20/2011 07:23 PM, Natalia Portillo wrote: >>> Linux requires the MMU and an almost complete hardware emulation. >>> Standard m68k emulations (UAE, Aranym and specially BasiliskII) >>> try to patch the OS to work. >> >> That's kinda sad. Is there a web page anywhere that elaborates on >> th

[Qemu-devel] buildbot failure in qemu on default_x86_64_fedora16

2011-08-20 Thread qemu
The Buildbot has detected a new failure on builder default_x86_64_fedora16 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_x86_64_fedora16/builds/0 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_fedora1

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Natalia Portillo
El 21/08/2011, a las 00:42, Rob Landley escribió: > On 08/20/2011 06:17 PM, Natalia Portillo wrote: >>> or ancient macintosh support >> >> Most of the hardware (but a few required ones like SWIM) is already >> in QEMU, you need to glue everything, make Toolbox be VERY happy >> about its environm

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Rob Landley
On 08/20/2011 06:17 PM, Natalia Portillo wrote: >> or ancient macintosh support > > Most of the hardware (but a few required ones like SWIM) is already > in QEMU, you need to glue everything, make Toolbox be VERY happy > about its environment, make Mac OS boot so it can second-boot Linux > (the di

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Rob Landley
On 08/20/2011 04:16 PM, Laurent Vivier wrote: > Le samedi 20 août 2011 à 15:57 -0500, Rob Landley a écrit : >> On 08/18/2011 06:12 AM, François Revol wrote: >>> Le -10/01/-28163 20:59, Laurent Vivier a écrit : Le mercredi 17 août 2011 à 17:35 -0500, Anthony Liguori a écrit : > On 08/17/201

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Natalia Portillo
Hi, El 20/08/2011, a las 21:55, Rob Landley escribió: > On 08/17/2011 03:46 PM, Bryce Lanham wrote: >> These patches greatly expand Motorola 68k emulation within qemu, and are >> what I used as a basis for my >> Google Summer of Code project to add NeXT hardware support to QEMU. > > Can I get t

Re: [Qemu-devel] TCG slowdown

2011-08-20 Thread Edgar E. Iglesias
On Sat, Aug 20, 2011 at 03:37:09PM -0700, Jan Kiszka wrote: > On 2011-08-20 13:51, Edgar E. Iglesias wrote: > > Lately, my TCG emulated machines have been running terribly slow. > > Like a factor 3 or 4 slower, hardly usable. > > > > I bisected it to this: > > > > commit d5ab9713d2d4037fd56b0addd

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Rob Landley
On 08/20/2011 04:16 PM, Laurent Vivier wrote: >> I.E. m68k system emulation doesn't seem to be building in that tree. > > first off all, this branch is only able to build m68k-linux-user qemu/, > then try: > > cd qemu > mkdir build-test > cd build-test > ../configure --disable-werror --target-lis

Re: [Qemu-devel] TCG slowdown

2011-08-20 Thread Jan Kiszka
On 2011-08-20 13:51, Edgar E. Iglesias wrote: > Lately, my TCG emulated machines have been running terribly slow. > Like a factor 3 or 4 slower, hardly usable. > > I bisected it to this: > > commit d5ab9713d2d4037fd56b0a26c8d4dc11cf09 > Author: Jan Kiszka > Date: Tue Aug 2 16:10:21 2011 +0

Re: [Qemu-devel] [PATCH] Improvements to libtool support.

2011-08-20 Thread Brad
On 13/08/11 8:30 PM, Brad wrote: Improvements to the libtool support in QEMU. Replace hard coded libtool in the infrastructure with $(LIBTOOL) and allow overriding the libtool binary used via the configure script. Signed-off-by: Brad Smith Alon? --- Makefile.objs |2 +- configure

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Rob Landley
On 08/20/2011 04:16 PM, Laurent Vivier wrote: > Le samedi 20 août 2011 à 15:57 -0500, Rob Landley a écrit : >> On 08/18/2011 06:12 AM, François Revol wrote: >>> Le -10/01/-28163 20:59, Laurent Vivier a écrit : Le mercredi 17 août 2011 à 17:35 -0500, Anthony Liguori a écrit : > On 08/17/201

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Rob Landley
On 08/18/2011 03:51 PM, Laurent Vivier wrote: > Le jeudi 18 août 2011 à 21:13 +0100, Natalia Portillo a écrit : >> Hi Laurent, >> >> El 18/08/2011, a las 20:57, Laurent Vivier escribió: >> >>> Le jeudi 18 août 2011 à 20:42 +0100, Natalia Portillo a écrit : Hi Laurent, >>> >>> Hi Natalia, >>> >

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Rob Landley
On 08/19/2011 03:08 PM, Anthony Liguori wrote: > On 08/19/2011 11:07 AM, Laurent Vivier wrote: >> >> >> >> >> >> Le 19 août 2011 à 17:52, Natalia Portillo a écrit : >> >>> >>> El 19/08/2011, a las 09:55, François Revol escribió: >> [snip] Release early, release often :p >>> >>> +1Ok, Ok, I th

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Rob Landley
On 08/19/2011 03:55 AM, François Revol wrote: > Le 19/08/2011 04:14, Natalia Portillo a écrit : >> Hi, >> > > [...] > (no need to quote the full thread!) > He worked on emulating an abandoned, strange, difficult to get, and undocumented hardware, using your 111 patches, and finishe

Re: [Qemu-devel] How can I understand iotlb (IOMMU)

2011-08-20 Thread Rob Landley
On 02/20/2011 09:15 PM, wang sheng wrote: > I can't understand CPUState's iotlb field , Why we need iotlb ? A memory management unit (MMU) translates virtual to physical addresses using page tables. Page tables are a tree structure are stored in memory, and can get REALLY BIG. If the chip had t

Re: [Qemu-devel] [Help]: How to setup a VM based on kernel source code.

2011-08-20 Thread Rob Landley
On 08/19/2011 04:58 AM, Zhi Yong Wu wrote: > HI, > > I have met one scenario; currently i want to set up a VM based on > latest kernel tree; but i only have latest kernel source code and > compiled it on one fedora 15 workstation. To achieve the objective, > what actions should i take next step?

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Laurent Vivier
Le samedi 20 août 2011 à 15:57 -0500, Rob Landley a écrit : > On 08/18/2011 06:12 AM, François Revol wrote: > > Le -10/01/-28163 20:59, Laurent Vivier a écrit : > >> Le mercredi 17 août 2011 à 17:35 -0500, Anthony Liguori a écrit : > >>> On 08/17/2011 03:46 PM, Bryce Lanham wrote: > These patc

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Rob Landley
On 08/18/2011 02:42 PM, Natalia Portillo wrote: > Hi Laurent, > > El 18/08/2011, a las 15:02, Laurent Vivier escribió: > >> >> >> Le 18 août 2011 à 13:12, "François Revol" > > a écrit : >> >> > Le -10/01/-28163 20:59, Laurent Vivier a écrit : >> > > Le mercredi 17 août 201

Re: [Qemu-devel] Serial port on virtual machines

2011-08-20 Thread Rob Landley
On 08/18/2011 10:00 AM, bala suru wrote: > Hi, > > I'm running VM on kvm-qemu hyper visor . I need to access the serail > port on the VM , > I tried the sample code to read/write com port but I get port error when > ever I tried write something to the port(dev/ttyS0) . > > the same code work fine

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Rob Landley
On 08/18/2011 06:12 AM, François Revol wrote: > Le -10/01/-28163 20:59, Laurent Vivier a écrit : >> Le mercredi 17 août 2011 à 17:35 -0500, Anthony Liguori a écrit : >>> On 08/17/2011 03:46 PM, Bryce Lanham wrote: These patches greatly expand Motorola 68k emulation within qemu, and are wh

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions

2011-08-20 Thread Rob Landley
On 08/17/2011 03:46 PM, Bryce Lanham wrote: > These patches greatly expand Motorola 68k emulation within qemu, and are what > I used as a basis for my > Google Summer of Code project to add NeXT hardware support to QEMU. Can I get these patches as a tarball or a git tree or something? Trying to

Re: [Qemu-devel] The reason behind block linking constraint?

2011-08-20 Thread Rob Landley
On 08/18/2011 04:31 AM, Max Filippov wrote: >> Hi, all >> >> I am trying to figure out why QEMU put some constraints on block >> linking (chaining). Take x86 as an example, there are two places >> put constraints on block linking, gen_goto_tb and cpu_exec. >> >> - gen_goto_tb (targ

[Qemu-devel] TCG slowdown

2011-08-20 Thread Edgar E. Iglesias
Lately, my TCG emulated machines have been running terribly slow. Like a factor 3 or 4 slower, hardly usable. I bisected it to this: commit d5ab9713d2d4037fd56b0a26c8d4dc11cf09 Author: Jan Kiszka Date: Tue Aug 2 16:10:21 2011 +0200 Avoid allocating TCG resources in non-TCG mode

Re: [Qemu-devel] [RFC 6/6] isa: improve bus implementation of ebus bridge

2011-08-20 Thread Richard Henderson
On 08/20/2011 07:56 AM, Hervé Poussineau wrote: > +memory_region_init(&s->isa_mem_space, "isa-memory", 0x0010); > +memory_region_add_subregion(get_system_memory(), > +APB_PCI_IO_BASE, > +&s->isa_mem_space); You should be p

Re: [Qemu-devel] [PULL] slirp: Fix issues with -mms-bitfields

2011-08-20 Thread Stefan Weil
Am 15.08.2011 08:39, schrieb Jan Kiszka: The following changes since commit 3b6ffe50300f13240e1b46420ad05da1116df410: hw/scsi-bus.c: Fix use of uninitialised variable (2011-08-14 19:34:25 +) are available in the git repository at: git://git.kiszka.org/qemu.git queues/slirp Jan Kiszka (1

[Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1

2011-08-20 Thread Bug Watch Updater
Launchpad has imported 5 comments from the remote bug at http://bugs.gentoo.org/show_bug.cgi?id=379871. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.laun

Re: [Qemu-devel] [PATCH] introduce environment variables for all qemu-user options

2011-08-20 Thread Yann Dirson
This patch will be useful, but there is a security problem in its current form. The qemu-user-static package installs binfmt-misc entries with "flags: OC", which makes the binary honor setuid bits. Regardless of whether it is a good idea or not, the envvars ought to be ignored in such a case. So

[Qemu-devel] [Bug 826363] Re: qemu-img convert does not work with vdi files

2011-08-20 Thread Steve Si
If someone could give me a link to a compiled binary, I will test this - thanks. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/826363 Title: qemu-img convert does not work with vdi files Status in

[Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1

2011-08-20 Thread Malte Starostik
Hi, I stubled over the same issue on Gentoo Linux today, and the easy fix/workaround is to pass --extra-cflags=-I. to configure. Maybe -I. should just be added to QEMU_CFLAGS by default, before any possible other include paths aded by configure. Cheers, Malte ** Bug watch added: Gentoo Bugzilla

Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings

2011-08-20 Thread Alex Williamson
We had an extremely productive VFIO BoF on Monday. Here's my attempt to capture the plan that I think we agreed to: We need to address both the description and enforcement of device groups. Groups are formed any time the iommu does not have resolution between a set of devices. On x86, this typi

[Qemu-devel] [RFC 6/6] isa: improve bus implementation of ebus bridge

2011-08-20 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau --- hw/sun4u.c | 39 --- 1 files changed, 32 insertions(+), 7 deletions(-) diff --git a/hw/sun4u.c b/hw/sun4u.c index 7e5a7e1..898541e 100644 --- a/hw/sun4u.c +++ b/hw/sun4u.c @@ -38,6 +38,7 @@ #include "loader.h" #include

[Qemu-devel] [RFC 2/6] isa: rework ISA bus internals, and add ISA bus ops structure

2011-08-20 Thread Hervé Poussineau
This allows future implementations of real pci-isa bridges or EISA bus emulation Signed-off-by: Hervé Poussineau --- hw/isa-bus.c | 60 ++--- hw/isa.h | 15 ++ 2 files changed, 63 insertions(+), 12 deletions(-) diff --git a

[Qemu-devel] [RFC 4/6] vga: use isa_address_space() method

2011-08-20 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau --- hw/cirrus_vga.c |4 ++-- hw/vga-isa.c|4 ++-- hw/vga.c|4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index b489309..ebc4aec 100644 --- a/hw/cirrus_vga.c +++ b/hw/cirrus_vga.c @@

[Qemu-devel] [RFC 5/6] isa: improve bus implementation of PIIX3 bridge

2011-08-20 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau --- hw/pc_piix.c |2 +- hw/piix_pci.c | 23 ++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index d8f285c..af45a13 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -135,8 +135,8 @@ static vo

[Qemu-devel] [RFC 0/6] ISA bus improvements

2011-08-20 Thread Hervé Poussineau
Following patches aim to change ISA bus to a first-citizen class in Qemu. They add ISA bus ops (like for scsi and usb buses), and use them to remove the infamous isa_mem_base variable, which can't be changed after startup. Last two patches convert two ISA bridges to the new API. ISA bridges used

[Qemu-devel] [RFC 3/6] isa: add isa_address_space() method

2011-08-20 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau --- hw/isa-bus.c | 24 hw/isa.h |2 ++ 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index 4757ff9..2bc384a 100644 --- a/hw/isa-bus.c +++ b/hw/isa-bus.c @@ -20,10 +20,12 @@ #include

[Qemu-devel] [RFC 1/6] isa: rename isa_bus_new to isa_bus_bridge_init

2011-08-20 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau --- hw/isa-bus.c |2 +- hw/isa.h |2 +- hw/mips_jazz.c |2 +- hw/mips_r4k.c |2 +- hw/pc_piix.c |2 +- hw/piix4.c |2 +- hw/piix_pci.c |2 +- hw/ppc_prep.c |2 +- hw/sun4u.c |2 +- hw/vt82c686.c |2 +-

[Qemu-devel] [PATCH] pcnet: fix wrong opaque (broken by bd8d6f7cadb6ace98c779135217a4ed7b5fccc23)

2011-08-20 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau --- hw/pcnet-pci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/pcnet-pci.c b/hw/pcnet-pci.c index 13d9380..51e1320 100644 --- a/hw/pcnet-pci.c +++ b/hw/pcnet-pci.c @@ -290,10 +290,10 @@ static int pci_pcnet_init(PCIDevice *pci_de

Re: [Qemu-devel] [Help]: How to setup a VM based on kernel source code.

2011-08-20 Thread Zhi Yong Wu
On Fri, Aug 19, 2011 at 9:14 PM, Stefan Hajnoczi wrote: > On Fri, Aug 19, 2011 at 10:58 AM, Zhi Yong Wu wrote: >> I have met one scenario; currently i want to set up a VM based on >> latest kernel tree; but i  only have latest kernel source code and >> compiled it on one fedora 15 workstation. To

[Qemu-devel] [Bug 826363] Re: qemu-img convert does not work with vdi files

2011-08-20 Thread Stefan Weil
A patch is available here: http://patchwork.ozlabs.org/patch/110762/ ** Changed in: qemu Status: New => Fix Committed ** Changed in: qemu Assignee: (unassigned) => Stefan Weil (ubuntu-weilnetz) -- You received this bug notification because you are a member of qemu- devel-ml, which i

[Qemu-devel] [Bug 817012] Re: compile error in QEMU 0.15.0-rc0

2011-08-20 Thread Stefan Weil
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/817012 Title: compile error in QEMU 0.15.0-rc0 Status in QEMU: Fix Released Bug de

Re: [Qemu-devel] [PATCH] w32: Fix qemu_ftruncate64

2011-08-20 Thread Stefan Weil
Am 20.08.2011 12:10, schrieb Stefan Weil: SetFilePointer returns INVALID_SET_FILE_POINTER when it fails. In addition, GetLastError must be checked. The first call of SetFilePointer did not use INVALID_SET_FILE_POINTER, the second call used wrong error handling. Signed-off-by: Stefan Weil ---

Re: [Qemu-devel] [Bug 826363] Re: qemu-img convert does not work with vdi files

2011-08-20 Thread Stefan Weil
Am 20.08.2011 10:50, schrieb Stefan Weil: Am 17.08.2011 18:44, schrieb Stefan Hajnoczi: On Wed, Aug 17, 2011 at 5:29 PM, Stefan Hajnoczi wrote: On Tue, Aug 16, 2011 at 7:07 PM, Steve Si <826...@bugs.launchpad.net> wrote: I got binaries from http://homepage3.nifty.com/takeda-toshiya/ tested u

[Qemu-devel] [PATCH] w32: Fix qemu_ftruncate64

2011-08-20 Thread Stefan Weil
SetFilePointer returns INVALID_SET_FILE_POINTER when it fails. In addition, GetLastError must be checked. The first call of SetFilePointer did not use INVALID_SET_FILE_POINTER, the second call used wrong error handling. Signed-off-by: Stefan Weil --- block/raw-win32.c |8 ++-- 1 files c

Re: [Qemu-devel] [Bug 826363] Re: qemu-img convert does not work with vdi files

2011-08-20 Thread Michael Tokarev
On 20.08.2011 12:50, Stefan Weil wrote: [] > Linux code also uses ftruncate to create files of a certain size. > This is not a good solution. Extract from the man page: > > "However, some non-native file systems do not permit truncate() and > ftruncate() to be used to extend a file beyond its curr

Re: [Qemu-devel] [Bug 826363] Re: qemu-img convert does not work with vdi files

2011-08-20 Thread Stefan Weil
Am 17.08.2011 18:44, schrieb Stefan Hajnoczi: On Wed, Aug 17, 2011 at 5:29 PM, Stefan Hajnoczi wrote: On Tue, Aug 16, 2011 at 7:07 PM, Steve Si <826...@bugs.launchpad.net> wrote: I got binaries from http://homepage3.nifty.com/takeda-toshiya/ tested under Win 7 64-bit as User=Administrator qe

Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3)

2011-08-20 Thread Stefan Weil
Am 16.08.2011 20:50, schrieb Paolo Bonzini: On 08/16/2011 05:45 AM, Stefan Hajnoczi wrote: Roy, This stack trace does not reveal much. Is there any MinGW gcc user that has successfully built and run qemu.git? I would be surprised if Stefan Weil hasn't. How did you know that? Which version

Re: [Qemu-devel] sparc32_dma: correctly initialize ledma base address

2011-08-20 Thread Blue Swirl
On Sat, Aug 20, 2011 at 5:04 AM, Bob Breuer wrote: > Mark Cave-Ayland wrote: >> On 15/08/11 16:38, Bob Breuer wrote: >> >>> Depends on the rom.  The SS-5 rom always sets it correctly, whereas the >>> SS-20 rom only sets it when you do "boot net".  Also, this is just the >>> top 8 bits of the addre

Re: [Qemu-devel] [PATCH] Wire g_new() and friends to the qemu_malloc() family

2011-08-20 Thread Blue Swirl
On Fri, Aug 19, 2011 at 3:22 PM, Avi Kivity wrote: > On 08/18/2011 09:54 PM, Peter Maydell wrote: >> >> On 18 August 2011 18:48, Avi Kivity  wrote: >> >  +static GMemVTable gmemvtable = { >> >  +    .malloc = qemu_malloc, >> >  +    .realloc = qemu_realloc, >> >  +    .free = qemu_free, >> >  +};