When I trying to specify 64-bit EFI BIOS nothing happens on VGA
nor serial console. It seems that CPU is continuously restarting.
Build and host system is Ubuntu 9.10:
Linux AST-mobile 2.6.31-22-generic-pae #73-Ubuntu SMP Fri Feb 11
18:39:01 UTC 2011 i686 GNU/Linux
Qemu 0.14.0 was built with
On Saturday 05 March 2011 04:30 PM, Mahesh Shivhare wrote:
Hi all,
Is there any way by which we can run qemu on android-x86 OS.does qemu needs any
modification to run on android-x86
I'm trying to build QEMU with --static option but when m trying to run on
android it's getting stuck with the
On Sat, Mar 05, 2011 at 01:35:58PM -0300, Marcelo Tosatti wrote:
On Sat, Feb 26, 2011 at 01:29:01PM +0100, Jan Kiszka wrote:
at
/var/tmp/portage/app-emulation/qemu-kvm-0.14.0/work/qemu-kvm-0.14.0/qemu-kvm.c:1466
#12 0x777bb944 in start_thread () from /lib/libpthread.so.0
On 03/05/2011 06:35 PM, Marcelo Tosatti wrote:
Regarding global mutex, TCG and KVM execution behaviour can become more
similar wrt locking by dropping qemu_global_mutex during generation and
execution of TBs.
How can you do that? During generation, a device can assert the reset
line,
Ping.
On Wed, Feb 23, 2011 at 01:20:17PM +0200, Alon Levy wrote:
This patchset adds three new devices, usb-ccid, ccid-card-passthru and
ccid-card-emulated, providing a CCID bus, a simple passthru protocol
implementing card requiring a client, and a standalone emulated card.
It also
Hi,
Am 05.03.2011 um 12:00 schrieb Mahesh Shivhare:
I'm trying to build QEMU with --static option but when m trying to
run on android it's getting stuck with the message
VNC srver running on 127.0.0.1:'
Check configure output. Maybe the SDL headers were not available when
Please test this patch:
http://repo.or.cz/w/qemu/stefanha.git/commitdiff/c405d1b66e045bce1c53a30f9ad840c6f19eca57
QEMU loads checksum offload flags from every tx data descriptor. When a
multi-descriptor packet is sent, Solaris will only mark the first
descriptor with checksum offload flags.
From: Herv� Poussineau hpous...@reactos.org
Signed-off-by: Herv� Poussineau hpous...@reactos.org
---
qemu-common.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/qemu-common.h b/qemu-common.h
index 40dad52..18e648f 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@
Thanks, applied.
On Sun, Mar 6, 2011 at 3:23 PM, Herve Poussineau hpous...@reactos.org wrote:
From: Hervé Poussineau hpous...@reactos.org
Signed-off-by: Hervé Poussineau hpous...@reactos.org
---
qemu-common.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git
Hi,
2011/3/6 Herve Poussineau hpous...@reactos.org:
FYI:
[PATCH 1/3] w32: Add new directory hierarchy for MinGW extensions
http://www.mail-archive.com/qemu-devel@nongnu.org/msg56858.html
[PATCH 2/3] w32: Add macro timersub to sys/time.h
When failing due to conflicting I/O port registrations,
include the offending I/O port address in the message.
Cc: Aurelien Jarno aurel...@aurel32.net
Signed-off-by: Andreas Färber andreas.faer...@web.de
---
v2:
* Use for address 0x%x wording, as suggested by Aurelien.
ioport.c |6 --
From: Jan Kiszka jan.kis...@siemens.com
qdev conversion broke migration as the previous version used vmstate
instance IDs derived from the iobase. Fix it by registering a legacy
alias.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
hw/i8254.c |2 ++
1 files changed, 2 insertions(+), 0
On 2011-02-13 22:10, Blue Swirl wrote:
Convert to qdev. Don't expose PITState.
...
diff --git a/hw/pc.h b/hw/pc.h
index 60f8c42..feb8a7a 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -82,14 +82,23 @@ void isa_irq_handler(void *opaque, int n, int level);
#define PIT_FREQ 1193182
-typedef
Hello
On 6 March 2011 05:12, Jordan Justen jljus...@gmail.com wrote:
I know you already have your own ideas to think of. :)
http://wiki.qemu.org/Google_Summer_of_Code_2011
But, I am wondering if any of you might have some UEFI or OVMF ideas for us:
On Sun, Mar 6, 2011 at 5:10 PM, Jan Kiszka jan.kis...@web.de wrote:
On 2011-02-13 22:10, Blue Swirl wrote:
Convert to qdev. Don't expose PITState.
...
diff --git a/hw/pc.h b/hw/pc.h
index 60f8c42..feb8a7a 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -82,14 +82,23 @@ void isa_irq_handler(void
On 2011-03-06 16:35, Blue Swirl wrote:
On Sun, Mar 6, 2011 at 5:10 PM, Jan Kiszka jan.kis...@web.de wrote:
On 2011-02-13 22:10, Blue Swirl wrote:
Convert to qdev. Don't expose PITState.
...
diff --git a/hw/pc.h b/hw/pc.h
index 60f8c42..feb8a7a 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@
On Sun, Mar 6, 2011 at 5:39 PM, Jan Kiszka jan.kis...@web.de wrote:
On 2011-03-06 16:35, Blue Swirl wrote:
On Sun, Mar 6, 2011 at 5:10 PM, Jan Kiszka jan.kis...@web.de wrote:
On 2011-02-13 22:10, Blue Swirl wrote:
Convert to qdev. Don't expose PITState.
...
diff --git a/hw/pc.h b/hw/pc.h
On 2011-03-06 17:06, Blue Swirl wrote:
On Sun, Mar 6, 2011 at 5:39 PM, Jan Kiszka jan.kis...@web.de wrote:
On 2011-03-06 16:35, Blue Swirl wrote:
On Sun, Mar 6, 2011 at 5:10 PM, Jan Kiszka jan.kis...@web.de wrote:
On 2011-02-13 22:10, Blue Swirl wrote:
Convert to qdev. Don't expose PITState.
On 02/13/2011 03:10 PM, Blue Swirl wrote:
Convert to qdev. Don't expose PITState.
Signed-off-by: Blue Swirlblauwir...@gmail.com
---
hw/i8254.c | 61 +--
hw/mips_fulong2e.c |4 +-
hw/mips_jazz.c |4 +-
hw/mips_malta.c
On Sun, Mar 6, 2011 at 6:31 PM, Anthony Liguori anth...@codemonkey.ws wrote:
On 02/13/2011 03:10 PM, Blue Swirl wrote:
Convert to qdev. Don't expose PITState.
Signed-off-by: Blue Swirlblauwir...@gmail.com
---
hw/i8254.c | 61
+--
The PCI/PCI-X Family of Gigabit Ethernet Controllers Software
Developer’s Manual states the following about the POPTS field:
Provides a number of options which control the handling of this
packet. This field is ignored except on the first data descriptor of
a packet.
The current
On Sun, Mar 6, 2011 at 6:47 PM, Blue Swirl blauwir...@gmail.com wrote:
On Sun, Mar 6, 2011 at 6:31 PM, Anthony Liguori anth...@codemonkey.ws wrote:
On 02/13/2011 03:10 PM, Blue Swirl wrote:
Convert to qdev. Don't expose PITState.
Signed-off-by: Blue Swirlblauwir...@gmail.com
---
On Wed, Jan 26, 2011 at 12:31:00PM +, Stefan Hajnoczi wrote:
Update not only dbc but also dnad when skipping bytes during the MSGOUT
phase. Previously only dbc was updated which is probably wrong and
could lead to bogus message codes being read.
Tested on Linux and Windows Server 2003.
Hello,
Am 22.02.2010 um 22:26 schrieb Marcelo Tosatti:
Change the way the internal qemu signal, used for communication
between
iothread and vcpus, is handled.
Block and consume it with sigtimedwait on the outer vcpu loop, which
allows more precise timing control.
Mac OS X v10.5 does not
On 03/06/2011 10:47 AM, Blue Swirl wrote:
The PIT is not an ISA device. Modelling it as such is worse than leaving it
unmodelled.
No. These days, PIT is part of Super I/O chip, which is accessed via
LPC bus. LPC is from software point of view equal to ISA. Therefore,
in absence of LPC,
On Thu, Jan 27, 2011 at 01:01:01PM +0200, Alex Rozenman wrote:
Hi,
I found a bug in phys_page_find_alloc function causing initial region_offset
field to be set to incorrect initial value.
Usually, the pages are re-assigned afterwards, so the bug has very small
effect on regular QEMU users.
On Mon, Feb 21, 2011 at 08:57:48PM +, Peter Maydell wrote:
This patchset fixes a number of problems which were preventing
Linux on Realview boards (EB926, EB 11MPCore, PB-A8 and PBX)
from recognising the presence of an MMC card. Basically the
PL181 needs to export some output pins for card
On Tue, Feb 22, 2011 at 01:59:41PM +, Stefan Hajnoczi wrote:
The simpletrace.py script pretty-prints a binary trace file. Most of
the code can be reused by trace file analysis scripts, so turn it into a
module.
Here is an example script that uses the new simpletrace module:
On 2011-03-06 18:47, Anthony Liguori wrote:
On 03/06/2011 10:47 AM, Blue Swirl wrote:
The PIT is not an ISA device. Modelling it as such is worse than
leaving it
unmodelled.
No. These days, PIT is part of Super I/O chip, which is accessed via
LPC bus. LPC is from software point of
On Tue, Feb 22, 2011 at 01:02:26PM +, Peter Maydell wrote:
When emulating a 32 bit Linux user-mode program on a 64 bit target
we implement the llseek syscall in terms of lseek. Correct a bug
which meant we were silently casting the result of host lseek()
to a 32 bit integer as it passed
On Wed, Feb 23, 2011 at 02:00:21PM +, Stefan Hajnoczi wrote:
The following additions to the tracing documentation are included:
1. Move stderr backend documentation to top-level and out of simple
backend. Include hints on when this backend is useful.
2. Document the simple backend
On Wed, Feb 23, 2011 at 03:19:33PM +, Peter Maydell wrote:
This patchset removes the ad-hoc debug code in target-arm for
identifying cases where we leaked TCG temporary variables, in
favour of an implementation in tcg itself.
Generally any temporaries created by a target while it is
Am 05.03.2011 um 13:48 schrieb Gerhard Wiesinger:
For newbies for documentation how to submit a qemu patch made of
several commits (updated for necessary signoff):
# Last commit before patch
git branch pcnet-amd-fix 1899e4afdc2d838be5625539df9c87cca49bdd70
git checkout pcnet-amd-fix
# Or
On Wed, Feb 23, 2011 at 07:57:21PM -0500, Benjamin Poirier wrote:
Signed-off-by: Benjamin Poirier benjamin.poir...@gmail.com
---
net.c | 28 ++--
1 files changed, 6 insertions(+), 22 deletions(-)
Thanks, applied.
diff --git a/net.c b/net.c
index ec4745d..15ed40b
On 2011-03-06 18:46, Andreas Färber wrote:
Hello,
Am 22.02.2010 um 22:26 schrieb Marcelo Tosatti:
Change the way the internal qemu signal, used for communication between
iothread and vcpus, is handled.
Block and consume it with sigtimedwait on the outer vcpu loop, which
allows more
On Thu, Feb 24, 2011 at 12:22:10PM +0100, Juan Quintela wrote:
It was deprecated, and it has no users.
Signed-off-by: Juan Quintela quint...@redhat.com
---
net.c | 41 -
qemu_socket.h |3 ---
2 files changed, 0 insertions(+), 44
On Thu, Feb 24, 2011 at 03:17:13PM +0100, Juan Quintela wrote:
Hi
This devices savevm support is Not Even Wrong. Just remove it.
It has never work for sure.
Anthony, please apply.
Later, Juan.
Juan Quintela (3):
vmstate: remove grackle_pci savevm code
vmstate: remove uninorth
On Fri, Feb 25, 2011 at 04:11:27PM +0800, Jason Wang wrote:
Signed-off-by: Jason Wang jasow...@redhat.com
---
net.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/net.c b/net.c
index 9ba5be2..21d4443 100644
--- a/net.c
+++ b/net.c
@@ -1025,7 +1025,11 @@
On Fri, Feb 25, 2011 at 03:04:12PM +, Peter Maydell wrote:
In v7 of the ARM architecture, WFI (wait for interrupt) is a first-class
instruction, but in previous versions this functionality was provided
via a cp15 coprocessor register. Add correct feature checks to the
decoding of the cp15
On Sun, Feb 27, 2011 at 08:23:30PM +0100, Stefan Weil wrote:
MinGW optionally includes pdcurses, so add support for it.
Signed-off-by: Stefan Weil w...@mail.berlios.de
---
configure |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
Thanks, applied.
diff --git a/configure
Am 06.03.2011 15:24, schrieb Roy Tam:
Hi,
2011/3/6 Herve Poussineauhpous...@reactos.org:
FYI:
[PATCH 1/3] w32: Add new directory hierarchy for MinGW extensions
http://www.mail-archive.com/qemu-devel@nongnu.org/msg56858.html
[PATCH 2/3] w32: Add macro timersub to sys/time.h
You should Cc: the IDE maintainer (Kevin Wolf) so that this patch can
get acked. Done with this mail.
On Tue, Mar 01, 2011 at 08:30:23AM -0500, Brian Wheeler wrote:
This patch fixes two things:
1) CHECK POWER MODE
The error return value wasn't always zero, so it would show up as
Hey, can you tell me about $PHOBOS_PREFIX/share/qemu/phobos64? Does
it have an alternative vgabios-cirrus.bin? Is the contents of this
directory available publicly?
I have followed the instructions How to run OVMF. This directory has
the contents of OVMF package - OVMF.fd and
The initialization should not be only on reset but also when initializing
the device.
It resolves a bug when hot plugging a pci network device: the mac address
was always null.
Signed-off-by: William Dauchy wdau...@gmail.com
Signed-off-by: Wen Congyang we...@cn.fujitsu.com
---
hw/pcnet.c |
On 6 March 2011 18:18, Aurelien Jarno aurel...@aurel32.net wrote:
On Wed, Feb 23, 2011 at 03:19:33PM +, Peter Maydell wrote:
This patchset removes the ad-hoc debug code in target-arm for
identifying cases where we leaked TCG temporary variables, in
favour of an implementation in tcg
Am 05.03.2011 10:34, schrieb Blue Swirl:
On Sun, Feb 27, 2011 at 7:52 PM, Stefan Weil w...@mail.berlios.de wrote:
timersub is needed by the latest vnc code.
Signed-off-by: Stefan Weil w...@mail.berlios.de
---
hosts/w32/include/sys/time.h | 24
1 files changed, 24
Use the new TCG temporary leak debugging facilities to
check that each ARM instruction does not leak temporaries.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
---
target-arm/translate.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/target-arm/translate.c
This patchset removes the ad-hoc debug code in target-arm for
identifying cases where we leaked TCG temporary variables, in
favour of an implementation in tcg itself.
Generally any temporaries created by a target while it is
translating an instruction should be freed by the end of that
On Sun, Mar 6, 2011 at 10:45 PM, Anthony Liguori anth...@codemonkey.ws wrote:
On 03/06/2011 12:06 PM, Jan Kiszka wrote:
In the system we model, the PIT is part of the PIIX3. The right way to
model it is as a DeviceState that's no_user=1 and created as part of the
initialized of PIIX3 (for
On Sun, Mar 06, 2011 at 08:32:09PM +, Peter Maydell wrote:
The code for Thumb2 ORNS (or negated and set flags) was trashing
a TCG input register which was needed later for use in calculating
flags, with the effect that the carry flag was always set with
the wrong sense. Fix this by using
Am 06.03.2011 21:25, schrieb Blue Swirl:
On Sun, Mar 6, 2011 at 9:24 PM, Stefan Weilw...@mail.berlios.de wrote:
Am 06.03.2011 15:24, schrieb Roy Tam:
Hi,
2011/3/6 Herve Poussineauhpous...@reactos.org:
FYI:
[PATCH 1/3] w32: Add new directory hierarchy for MinGW extensions
On Tue, Mar 01, 2011 at 05:35:19PM +, Peter Maydell wrote:
Fix two bugs in the translation of the instructions VMOV sa,sb,rx,ry and
VMOV rx,ry,sa,sb (which copy between a pair of ARM core registers and a
pair of VFP single precision registers):
* An incorrect condition meant these
Am Dienstag 01 März 2011, 22:31:58 schrieb Edgar E. Iglesias:
On Fri, Feb 25, 2011 at 12:03:37AM +0100, Michael Walle wrote:
Am Donnerstag 17 Februar 2011, 23:45:01 schrieb Michael Walle:
This patchset adds support for the LatticeMico32 softcore processor by
Lattice Semiconductor.
On Wed, Mar 02, 2011 at 05:34:08PM +, Peter Maydell wrote:
The code for Thumb2 ORNS (or negated and set flags) was trashing
a TCG input register which was needed later for use in calculating
flags, with the effect that the carry flag was always set with
the wrong sense. Fix this by using a
On Thu, Feb 17, 2011 at 01:26:05PM +0100, jes.soren...@redhat.com wrote:
From: Jes Sorensen jes.soren...@redhat.com
Optional feature allowing a user to generate the probe list to match
the name of the binary, in case they wish to install qemu under a
different name than
Add support (if CONFIG_DEBUG_TCG is defined) for debugging leakage
of temporary variables. Generally any temporaries created by
a target while it is translating an instruction should be freed
by the end of that instruction; otherwise carefully crafted
guest code could cause TCG to run out of
On Sun, Mar 6, 2011 at 07:29, Michal Suchanek hramr...@centrum.cz wrote:
On 6 March 2011 05:12, Jordan Justen jljus...@gmail.com wrote:
I know you already have your own ideas to think of. :)
http://wiki.qemu.org/Google_Summer_of_Code_2011
But, I am wondering if any of you might have some UEFI
On 03/06/2011 12:06 PM, Jan Kiszka wrote:
In the system we model, the PIT is part of the PIIX3. The right way to
model it is as a DeviceState that's no_user=1 and created as part of the
initialized of PIIX3 (for the PC at least).
LPC is still an expansion bus and it's primarily used for
Hi,
I've gotten my QAPI branch now functionally complete so I'm ready to
start working on merging. I thought I'd send a note about my plans as
both a heads up and to see if anyone had any suggestions.
My plan is to split everything up into three rounds. The first round
will just be core
The initialization should not be only on reset but also when initializing
the device.
It resolves a bug when hot plugging a pci network device: the mac address
was always null.
Signed-off-by: William Dauchy wdau...@gmail.com
Signed-off-by: Wen Congyang we...@cn.fujitsu.com
---
hw/pcnet.c |
Hello,
AMD fix is now upstream. Please merge it.
Thnx.
Ciao,
Gerhard
--
http://www.wiesinger.com/
On Sun, 6 Mar 2011, William Dauchy wrote:
The initialization should not be only on reset but also when initializing
the device.
It resolves a bug when hot plugging a pci network device: the
On Sun, Mar 6, 2011 at 9:38 PM, Gerhard Wiesinger li...@wiesinger.com wrote:
AMD fix is now upstream. Please merge it.
oh sorry. did not see; will do.
--
William
On 2011-03-06 21:45, Anthony Liguori wrote:
On 03/06/2011 12:06 PM, Jan Kiszka wrote:
In the system we model, the PIT is part of the PIIX3. The right way to
model it is as a DeviceState that's no_user=1 and created as part of the
initialized of PIIX3 (for the PC at least).
LPC is still an
The code for Thumb2 ORNS (or negated and set flags) was trashing
a TCG input register which was needed later for use in calculating
flags, with the effect that the carry flag was always set with
the wrong sense. Fix this by using the TCG orc op instead of
separate not and or ops.
Signed-off-by:
On Sun, Mar 6, 2011 at 9:24 PM, Stefan Weil w...@mail.berlios.de wrote:
Am 06.03.2011 15:24, schrieb Roy Tam:
Hi,
2011/3/6 Herve Poussineauhpous...@reactos.org:
FYI:
[PATCH 1/3] w32: Add new directory hierarchy for MinGW extensions
On Sun, Mar 06, 2011 at 03:48:13PM +0100, Andreas Färber wrote:
When failing due to conflicting I/O port registrations,
include the offending I/O port address in the message.
Cc: Aurelien Jarno aurel...@aurel32.net
Signed-off-by: Andreas Färber andreas.faer...@web.de
---
v2:
* Use for
On Sun, Mar 6, 2011 at 13:26, vagran vagran@gmail.com wrote:
Can you try disabling KVM?
Yes, it helped. Problem exists only when using KVM. Thanks.
One thing I suspect is that the kernel side of kvm had an issue around
this time (Ubuntu 9.10) with a bios.bin larger than 256kb.
With qemu
On 03/06/2011 03:18 PM, Jan Kiszka wrote:
It's far from academic as this is user-visible and visible via the
command line.
I thought it was stated before that there is no guarantee on the
internal structure of our device tree as the user may explore it (as
long as it's stable for the
The original SoftFloat 2.0b library avoided the use of custom integer types
in its public headers. This requires the definitions of int{8,16,32,64} to
match the assumptions in the declarations. This breaks on BeOS R5 and Haiku/x86,
where int32 is defined in {be,os}/support/SupportDefs.h in terms
On Sat, Mar 05, 2011 at 07:11:53PM +0100, Jan Kiszka wrote:
On 2011-03-05 16:37, Marcelo Tosatti wrote:
On Fri, Mar 04, 2011 at 11:20:00AM +0100, Jan Kiszka wrote:
KVM only requires to set the raised IRQ in CPUState and, if the user
space irqchip is used, to kick the receiving vcpu if it is
Adapt float{32,64}_to_uint16_round_to_zero().
v5:
* Reworded.
v3:
* Split off. Use uint_fast16_t rather than uint16_t.
v2:
* Initial.
Cc: Peter Maydell peter.mayd...@linaro.org
Cc: Nathan Froyd froy...@codesourcery.com
Signed-off-by: Andreas Färber andreas.faer...@web.de
---
fpu/softfloat.c |
v5:
* Initial.
Cc: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Andreas Färber andreas.faer...@web.de
---
fpu/softfloat.c | 48
fpu/softfloat.h | 34 --
2 files changed, 40 insertions(+), 42
The SoftFloat license requires prominent notice that the work
is derivative. Having added features like improved 16-bit support
for arm already, add such a notice to the sources.
softfloat-native.[ch] are not under the SoftFloat license
and thus are not changed.
v4:
Initial.
Cc: Peter Maydell
v5:
* Initial.
Cc: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Andreas Färber andreas.faer...@web.de
---
fpu/softfloat.c | 132 +++---
fpu/softfloat.h | 34 +++
2 files changed, 82 insertions(+), 84 deletions(-)
diff --git
v5:
* Initial.
Cc: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Andreas Färber andreas.faer...@web.de
---
fpu/softfloat-macros.h | 26 +-
fpu/softfloat-specialize.h |2 +-
fpu/softfloat.c| 62 ++--
v5:
* Initial.
Signed-off-by: Andreas Färber andreas.faer...@web.de
---
fpu/softfloat-native.c | 42 +-
fpu/softfloat-native.h | 32
fpu/softfloat.c| 12 ++--
fpu/softfloat.h|4 ++--
4
AIX already didn't use our definition, so let's start ripping out this one:
As pointed out by Peter Maydell, int16 is currently int on most
supported platforms, so let's replace it with int_fast16_t,
allowing the system to use a wider type if appropriate.
Note that Darwin uses [u]int16_t now,
The Error class is similar to QError (now deprecated) except that it supports
propagation. This allows for higher quality error handling. It's losely
modeled after glib style GErrors.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/Makefile.objs b/Makefile.objs
index
This will replace the current QMP server once all the functions are implemented.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/qmp-core.c b/qmp-core.c
index 3a6242c..3a4d240 100644
--- a/qmp-core.c
+++ b/qmp-core.c
@@ -44,6 +44,15 @@ struct QmpState
QTAILQ_HEAD(,
This lets us register marshaling handlers using a module init function.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/module.h b/module.h
index 9263f1c..ef66730 100644
--- a/module.h
+++ b/module.h
@@ -24,12 +24,14 @@ typedef enum {
MODULE_INIT_BLOCK,
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/json-parser.c b/json-parser.c
index 6c06ef9..ac4063a 100644
--- a/json-parser.c
+++ b/json-parser.c
@@ -22,9 +22,11 @@
#include qbool.h
#include json-parser.h
#include json-lexer.h
+#include qerror.h
typedef struct
Using a string like this is a cop-out. I plan on changing this before 0.15.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/qerror.c b/qerror.c
index 5a1e637..c12dd3d 100644
--- a/qerror.c
+++ b/qerror.c
@@ -145,6 +145,10 @@ static const QErrorStringTable qerror_table[] = {
This is used internally by QMP. It's also a pretty good example of a typical
command conversion.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/Makefile.objs b/Makefile.objs
index 5dae800..e1a2756 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -103,7 +103,7 @@ common-obj-y
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/qmp-core.c b/qmp-core.c
index 78aef3a..3a6242c 100644
--- a/qmp-core.c
+++ b/qmp-core.c
@@ -28,6 +28,22 @@ typedef struct QmpCommand
QTAILQ_ENTRY(QmpCommand) node;
} QmpCommand;
+typedef struct DefaultQmpConnection
+{
+
This generates qmp.h which contains the declarations of all of QMP functions
to be dispatched, plus a function that registers marshallers for each of
the QMP functions.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/Makefile b/Makefile
index 8f3a4d3..47a755d 100644
---
This is needed by the test suite.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/qmp-schema.json b/qmp-schema.json
index b343f5e..0581e67 100644
--- a/qmp-schema.json
+++ b/qmp-schema.json
@@ -36,3 +36,15 @@
# Since: 0.14.0
##
[ 'query-version', {}, {}, 'VersionInfo' ]
+
+##
This is temporary until we implement all QMP commands.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/qemu-options.hx b/qemu-options.hx
index badb730..957d935 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1881,6 +1881,9 @@ serial port).
The default device is @code{vc}
This is needed for libqmp to support events. put-event is used to disconnect
from signals.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/qmp-schema.json b/qmp-schema.json
index 3f2dd4e..a13885f 100644
--- a/qmp-schema.json
+++ b/qmp-schema.json
@@ -58,3 +58,18 @@
# Since:
For now, it's a nop. In the near future, it will be used to register default
signals.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/qmp-core.c b/qmp-core.c
index 3a4d240..72e4fea 100644
--- a/qmp-core.c
+++ b/qmp-core.c
@@ -393,3 +393,7 @@ void qmp_init_chardev(CharDriverState
These make it very hard to compile QError outside of QEMU.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/Makefile.objs b/Makefile.objs
index da31530..69f0383 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -2,7 +2,7 @@
# QObject
qobject-obj-y = qint.o qstring.o qdict.o
This provides a glib-test based testing framework for QMP
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/Makefile b/Makefile
index 5170675..1d363d7 100644
--- a/Makefile
+++ b/Makefile
@@ -72,6 +72,8 @@ defconfig:
-include config-all-devices.mak
+TOOLS += test-libqmp
+
This will let Error share the QError human formatting. This is only used for
HMP.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/qerror.c b/qerror.c
index 4855604..13d53c9 100644
--- a/qerror.c
+++ b/qerror.c
@@ -326,12 +326,18 @@ QError *qerror_from_info(const char *file, int
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/Makefile b/Makefile
index 47a755d..5170675 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ GENERATED_HEADERS = config-host.h trace.h qemu-options.def
ifeq ($(TRACE_BACKEND),dtrace)
GENERATED_HEADERS += trace-dtrace.h
endif
This is the first round of QAPI. This lays all the basic ground work for QAPI
including a client library, new server, and new signal/slot mechanism.
The QAPI development branch contains conversions of every 0.14 QMP command and
also converts all possible HMP commands to use the QMP versions of
These are generated type functions. This file will not be committed but is
included to help review.
diff --git a/qmp-types.c b/qmp-types.c
new file mode 100644
index 000..3162265
--- /dev/null
+++ b/qmp-types.c
@@ -0,0 +1,22 @@
+/* THIS FILE IS AUTOMATICALLY GENERATED, DO NOT EDIT */
+
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
diff --git a/Makefile b/Makefile
index 1d363d7..c5a4820 100644
--- a/Makefile
+++ b/Makefile
@@ -216,6 +216,15 @@ LIBQMP_OBJS += $(oslib-obj-y) $(trace-obj-y) qemu-malloc.o
test-libqmp: test-libqmp.o $(LIBQMP_OBJS) qemu-timer-common.o
Only generate qmp-types.[ch]. These files contain the type definitions for
QMP along with the alloc/free functions for these types. Functions to convert
enum values to integers and vice versa are also included.
qmp-types is used both within QEMU and within libqmp
Special alloc/free functions
GLib is an extremely common library that has a portable thread implementation
along with tons of other goodies.
GLib and GObject have a fantastic amount of infrastructure we can leverage in
QEMU including an object oriented programming infrastructure.
Short term, it has a very nice thread pool
Hello *,
modifying target-i386/translate.c for calling helper functions when
specific arithmetic operations are executed.
Example:
static void gen_shift(DisasContext *s1, int op, int ot, int d, int s,
target_ulong pc_start)
{
if (s != OR_TMP1)
gen_op_mov_TN_reg(ot, 1, s);
This is not to be committed.
diff --git a/qmp-marshal-types.c b/qmp-marshal-types.c
new file mode 100644
index 000..c3ab141
--- /dev/null
+++ b/qmp-marshal-types.c
@@ -0,0 +1,77 @@
+/* THIS FILE IS AUTOMATICALLY GENERATED, DO NOT EDIT */
+
+#include qmp-marshal-types.h
+#include qerror.h
+
+
1 - 100 of 111 matches
Mail list logo