- mark privileged opcodes with ring check;
- make debug exception on exception handler entry.
Signed-off-by: Max Filippov
---
RFC -> PATCH changes:
- make privilege_check based on mem_index;
---
cpu-exec.c|6 +++
target-xtensa/cpu.h | 103 ++
See ISA, 4.4.4 for details.
Correct (aligned as per ISA) address for unaligned access is generated
in case this option is not enabled.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 33 +++--
1 files changed, 31 insertions(+), 2 deletions(-)
diff --gi
See ISA, 4.4.3 for details.
Vector addresses recorded in core configuration are absolute values that
correspond to default VECBASE value.
Signed-off-by: Max Filippov
---
target-xtensa/cpu.h |2 ++
target-xtensa/helper.c| 18 --
target-xtensa/translate.c |1 +
On 05/16/2011 11:23 AM, Jagane Sundar wrote:
Hello Dor,
Let me see if I understand live snapshot correctly:
If I want to configure a VM for daily backup, then I would do
the following:
- Create a snapshot s1. s0 is marked read-only.
- Do a full backup of s0 on day 0.
- On day 1, I would create a
On 05/17/2011 04:58 PM, Serge E. Hallyn wrote:
Quoting Stefan Berger (stef...@linux.vnet.ibm.com):
This patch adds support for TPM command line options.
The command line supported here (considering the libtpms based
backend) are
./qemu-... -tpm type=,path=,
Hm, I did
kvm -tpm type=builtin,pat
On 05/17/2011 04:58 PM, Serge E. Hallyn wrote:
Quoting Stefan Berger (stef...@linux.vnet.ibm.com):
This patch adds support for TPM command line options.
The command line supported here (considering the libtpms based
backend) are
./qemu-... -tpm type=,path=,
Hm, I did
kvm -tpm type=builtin,pat
Some architectures (like Blackfin) only implement pselect6 (and skip
select/newselect). So add support for it using existing newselect code.
Signed-off-by: Mike Frysinger
---
linux-user/syscall.c | 145 +++---
1 files changed, 126 insertions(+), 19 d
Signed-off-by: Mike Frysinger
---
v2
- drop *.orig as it has been merged already
.gitignore |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 08013fc..790dc12 100644
--- a/.gitignore
+++ b/.gitignore
@@ -58,6 +58,9 @@ QMP/qmp-command
On Tue, May 17, 2011 at 18:17, Peter Maydell wrote:
> On 17 May 2011 22:10, Mike Frysinger wrote:
>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -58,6 +58,10 @@ QMP/qmp-commands.txt
>> *.orig
>> .pc
>> patches
>> +*.diff
>> +*.patch
>> +*.rej
>> +*.orig
>> pc-bios/bios-pq/status
>> pc-bios/vgab
These apply on top of master, and can also be obtained from:
git://repo.or.cz/qemu/mdroth.git qapi_round1_v1
These patches are a backport of some of the QAPI-related work from Anthony's
glib tree. The main goal is to get the basic code generation infrastructure in
place so that it can be used by t
Signed-off-by: Michael Roth
---
error.c | 131 +++
error.h | 70 +++
error_int.h | 27
3 files changed, 228 insertions(+), 0 deletions(-)
create mode 100644 error.c
create mode 100644
From: Anthony Liguori
Signed-off-by: Michael Roth
---
Makefile.objs |2 +-
error.c |1 +
qerror-report.c | 139 +++
qerror.c| 178 +++---
qerror.h|7 ++
5 files chang
Signed-off-by: Michael Roth
---
Makefile.objs |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile.objs b/Makefile.objs
index c49e44c..0803297 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -15,6 +15,7 @@ oslib-obj-$(CONFIG_POSIX) += oslib-posix.o qemu-thread-posi
Signed-off-by: Michael Roth
---
scripts/ordereddict.py | 128 ++
scripts/qapi.py| 181
2 files changed, 309 insertions(+), 0 deletions(-)
create mode 100644 scripts/ordereddict.py
create mode 100644 scri
From: Anthony Liguori
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
Signed-off-by: Michael Roth
---
qlist.h | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/qlist.h b/qlist.h
index dbe7b92..13f22eb 100644
--- a/qlist.h
+++ b/qlist.h
@@ -50,4 +50,14 @@ QObject *qlist_peek(QList *qlist);
int qlist_empty(const QList *qlist);
QLis
This is the code generator for qapi visiter functions used to
marshal/unmarshal/dealloc qapi types. It generates the following 2
files:
$(prefix)qapi-types.c: visiter function for a particular c type, used
to automagically convert qobjects into the
Signed-off-by: Michael Roth
---
test-qmp-commands.c | 113 +++
1 files changed, 113 insertions(+), 0 deletions(-)
create mode 100644 test-qmp-commands.c
diff --git a/test-qmp-commands.c b/test-qmp-commands.c
new file mode 100644
index 000..8
This is the code generator for qapi types. It will generation the
following files:
$(prefix)qapi-types.h - C types corresponding to types defined in
the schema you pass in
$(prefix)qapi-types.c - Cleanup functions for the above C types
The $(prefix) is used to as a n
Signed-off-by: Michael Roth
---
module.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
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,
MODULE_INIT_DEVICE,
MODULE_INIT_
Signed-off-by: Michael Roth
---
Makefile |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 55ae073..39b2936 100644
--- a/Makefile
+++ b/Makefile
@@ -146,7 +146,7 @@ check-qfloat: check-qfloat.o qfloat.o $(CHECK_PROG_DEPS)
check-qjson: chec
This is the code generator for qapi command marshaling/dispatch.
Currently only generators for synchronous qapi/qmp functions are
supported. This script generates the following files:
$(prefix)qmp-marshal.c: command marshal/dispatch functions for each
QMP command define
Base declarations and includes for qapi types generator.
Signed-off-by: Michael Roth
---
qapi/qapi-types-core.h | 12
1 files changed, 12 insertions(+), 0 deletions(-)
create mode 100644 qapi/qapi-types-core.h
diff --git a/qapi/qapi-types-core.h b/qapi/qapi-types-core.h
new file
Base definitions/includes for Visiter interface used by generated
visiter/marshalling code.
Signed-off-by: Michael Roth
---
qapi/qapi-visit-core.h | 175
1 files changed, 175 insertions(+), 0 deletions(-)
create mode 100644 qapi/qapi-visit-core.
Type of Visiter class that can be passed into a qapi-generated C
type's visiter function to free() any heap-allocated data types.
Signed-off-by: Michael Roth
---
qapi/qapi-dealloc-visiter.c | 125 +++
qapi/qapi-dealloc-visiter.h | 13 +
2 files chan
Type of Visiter class that serves as the inverse of the input visiter:
it takes a series of native C types and uses their values to construct a
corresponding QObject. The command marshaling/dispatcher functions will
use this to convert the output of QMP functions into a QObject that can
be sent ove
A type of Visiter class that is used to walk a qobject's
structure and assign each entry to the corresponding native C type.
Command marshaling function will use this to pull out QMP command
parameters recieved over the wire and pass them as native arguments
to the corresponding C functions.
Signe
Registration/lookup functions for that provide a lookup table for
dispatching QMP commands.
Signed-off-by: Michael Roth
---
qapi/qmp-registry.c | 38 ++
1 files changed, 38 insertions(+), 0 deletions(-)
create mode 100644 qapi/qmp-registry.c
diff --git a/q
Given an object recieved via QMP, this code uses the dispatch table
provided by qmp_registry.c to call the corresponding marshalling/dispatch
function and format return values/errors for delivery to the QMP.
Currently only synchronous QMP functions are supported, but this will
also be used for asyn
This is how QMP commands/parameters/types would be defined. We use a
subset of that functionality here to implement functions/types for unit
testing.
Signed-off-by: Michael Roth
---
qapi-schema-test.json | 16
1 files changed, 16 insertions(+), 0 deletions(-)
create mode 1006
Signed-off-by: Michael Roth
---
test-visiter.c | 214
1 files changed, 214 insertions(+), 0 deletions(-)
create mode 100644 test-visiter.c
diff --git a/test-visiter.c b/test-visiter.c
new file mode 100644
index 000..31596a0
--- /dev
Signed-off-by: Michael Roth
---
Makefile | 13 +
Makefile.objs |7 +++
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 5d39363..55ae073 100644
--- a/Makefile
+++ b/Makefile
@@ -145,6 +145,19 @@ check-qlist: check-qlist.o qlist.
Signed-off-by: Michael Roth
---
qapi/qmp-core.h | 90 +++
1 files changed, 90 insertions(+), 0 deletions(-)
create mode 100644 qapi/qmp-core.h
diff --git a/qapi/qmp-core.h b/qapi/qmp-core.h
new file mode 100644
index 000..c4a20a8
--- /d
Thank you for subscribing. You have now unsubscribed and no more messages will
be sent.
Quoting Stefan Berger (stef...@linux.vnet.ibm.com):
> On 05/17/2011 04:58 PM, Serge E. Hallyn wrote:
> >Quoting Stefan Berger (stef...@linux.vnet.ibm.com):
> >>This patch adds support for TPM command line options.
> >>The command line supported here (considering the libtpms based
> >>backend) are
>
Here is the prog_interface part.
You were unsure about prog_interface, so I split it out.
Thus you can determine if prog_interface conversion is wanted or not.
>From abaf67175190c2f4d0c222c2ae8010e9de38bf59 Mon Sep 17 00:00:00 2001
Message-Id:
From: Isaku Yamahata
Date: Wed, 18 May 2011 09:58:2
On Tue, May 17, 2011 at 04:21:11PM +0200, Jan Kiszka wrote:
> I also succeeded with passing through a PCIe host device. Nicely, the
> full set capabilities showed up on the guest side this way. But GPU
> pass-through did not improve this way (it rather regressed, yet unclear
> why).
Interesting.
On Tue, May 17, 2011 at 06:03:39PM -0400, Mike Frysinger wrote:
Reviewed-by: Alon Levy
> Signed-off-by: Mike Frysinger
> ---
> .gitignore |1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/.gitignore b/.gitignore
> index 306baee..e5a51f3 100644
> --- a/.gitignore
>
On Tue, May 17, 2011 at 09:06:41AM +0200, Alexander Graf wrote:
> On 17.05.2011, at 08:47, David Gibson wrote:
> > From: Alexey Kardashevskiy
> >
> > The recently added pseries machine does not currently support PCI
> > emulation. For the (upcoming) kvm case, this is quite difficult to do
> > be
Current vm_running was not explicitly initialized and its value was changed by
vm state notifier, this may confuse the virtio device being hotplugged such as
virtio-net with vhost backend as it may think the vm was not running. Solve this
by initialize this value explicitly in virtio_common_init().
On Tue, May 17, 2011 at 7:35 PM, Stefan Hajnoczi wrote:
> Please see http://wiki.qemu.org/Contribute/SubmitAPatch, which asks
> that patches are sent inline (not as attachments) for easy review and
> that you follow the coding style (see the CODING_STYLE file). Patches
> also need a Signed-off-by
201 - 241 of 241 matches
Mail list logo