Hello qemu-devel
Would you like to earn an extra $200 everyday?, for just 45 minutes work? You
could quit your job and make double the money at home working for yourself.
visit->http:tinyurl.com/3brnlpx
Regards,
Sharon Burns
Survey Human Resources Dept.
On Thu, Jun 02, 2011 at 09:17:06AM +0300, Sasha Levin wrote:
>Date: Thu, 02 Jun 2011 09:17:06 +0300
>From: Sasha Levin
>To: Zhi Yong Wu
>Cc: qemu-devel@nongnu.org, k...@vger.kernel.org, kw...@redhat.com,
> aligu...@us.ibm.com, herb...@gondor.apana.org.au,
> guijianf...@cn.fujitsu.com,
Hello qemu-devel
Would you like to earn an extra $200 everyday?, for just 45 minutes work? You
could quit your job and make double the money at home working for yourself.
visit->http:tinyurl.com/3brnlpx
Regards,
Sharon Burns
Survey Human Resources Dept.
Hi,
On Mon, 2011-05-30 at 13:09 +0800, Zhi Yong Wu wrote:
> Hello, all,
>
> I have prepared to work on a feature called "Disk I/O limits" for
> qemu-kvm projeect.
> This feature will enable the user to cap disk I/O amount performed by a
> VM.It is important for some storage resources to
Hello qemu-devel
Would you like to earn an extra $200 everyday?, for just 45 minutes work? You
could quit your job and make double the money at home working for yourself.
visit->http:tinyurl.com/3brnlpx
Regards,
Sharon Burns
Survey Human Resources Dept.
On 2 June 2011 00:05, Andreas Färber wrote:
> Am 30.05.2011 um 00:32 schrieb Peter Maydell:
>> (1) presumably this doesn't work if you disable the display
>> with "-display none" ?
>
> I don't see how that would not work. It's just not handled specially here,
> so it will likely display a window -
As requested by Blue Swirl (2010-06-10)
Signed-off-by: Brad Hards
---
hw/usb-uvc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/usb-uvc.c b/hw/usb-uvc.c
index 1e3d339..d1e71f8 100644
--- a/hw/usb-uvc.c
+++ b/hw/usb-uvc.c
@@ -1025,7 +1025,7 @@ static int usb_uvc_in
On Wed, Jun 01, 2011 at 09:32:32AM -0400, Vivek Goyal wrote:
>Date: Wed, 1 Jun 2011 09:32:32 -0400
>From: Vivek Goyal
>To: Zhi Yong Wu
>Cc: kw...@redhat.com, stefa...@linux.vnet.ibm.com, k...@vger.kernel.org,
> guijianf...@cn.fujitsu.com, qemu-devel@nongnu.org, wu...@cn.ibm.com,
> her
As requested by Blue Swirl (2010-06-10 17:46:16)
Signed-off-by: Brad Hards
---
hw/usb-uvc.c | 30 +++---
1 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/hw/usb-uvc.c b/hw/usb-uvc.c
index 5437a13..661eb1a 100644
--- a/hw/usb-uvc.c
+++ b/hw/usb-uvc.c
@@ -
Signed-off-by: Brad Hards
---
hw/usb-uvc.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/usb-uvc.c b/hw/usb-uvc.c
index 661eb1a..1e3d339 100644
--- a/hw/usb-uvc.c
+++ b/hw/usb-uvc.c
@@ -893,7 +893,7 @@ static int usb_uvc_initfn(USBDevice *dev)
error_repor
Signed-off-by: Brad Hards
---
hw/usb-uvc.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/hw/usb-uvc.c b/hw/usb-uvc.c
index 20ac23e..5437a13 100644
--- a/hw/usb-uvc.c
+++ b/hw/usb-uvc.c
@@ -487,7 +487,7 @@ static int usb_uvc_handle_control(USBDevice *dev, USBPac
Addresses comment by Blue Swirl (2010-06-10 17:46:16)
Signed-off-by: Brad Hards
---
hw/usb-uvc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/usb-uvc.c b/hw/usb-uvc.c
index b711f51..e88ee00 100644
--- a/hw/usb-uvc.c
+++ b/hw/usb-uvc.c
@@ -31,7 +31,7 @@
#include
Hi Natalia,
As you suggested, I've stopped my nonsense and worked from your
UVC patches (http://patchwork.ozlabs.org/patch/55001 and
http://patchwork.ozlabs.org/patch/55000). These changes
are relative to your patches (applied on top of trunk).
I've mostly just incorporated some changes requested
Looks like function signature changed.
Signed-off-by: Brad Hards
---
hw/usb-uvc.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/hw/usb-uvc.c b/hw/usb-uvc.c
index e88ee00..c9c8f77 100644
--- a/hw/usb-uvc.c
+++ b/hw/usb-uvc.c
@@ -307,8 +307,9 @@ static void usb_uvc_h
Hello qemu-devel
Would you like to earn an extra $200 everyday?, for just 45 minutes work? You
could quit your job and make double the money at home working for yourself.
visit->http:tinyurl.com/3brnlpx
Regards,
Sharon Burns
Survey Human Resources Dept.
Currently we flush the lexer by passing in a NULL character. This
generally forces the lexer to go to the corresponding TERMINAL() state
for whatever token type it is currently parsing, emits the token to the
parser, then puts the lexer back into IN_START state. However, since a
NULL character caus
Currently a NULL token list will crash the parser, instead we have it
pass back a NULL QObject.
Signed-off-by: Michael Roth
---
json-parser.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/json-parser.c b/json-parser.c
index 58e973b..849e215 100644
--- a/json-parse
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..7
This is Set 3/3 of the QAPI+QGA patchsets.
These patches apply on top of qapi-backport-set2-v1, and can also be obtained
from:
git://repo.or.cz/qemu/mdroth.git qapi-backport-set3-v3
(Set1+2 are a backport of some of the QAPI-related work from Anthony's
glib tree. The main goal is to get the basi
Signed-off-by: Brad Hards
---
hw/usb.h |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/hw/usb.h b/hw/usb.h
index 9882400..2c051b3 100644
--- a/hw/usb.h
+++ b/hw/usb.h
@@ -26,6 +26,12 @@
#include "qdev.h"
#include "qemu-queue.h"
+/* Constants related to the USB /
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 | 127 +++
qapi/qapi-dealloc-visiter.h | 26 +
2 files
On OSX > 10.5, daemon() is deprecated, resulting int he following warning:
8<
qemu-nbd.c: In function ‘main’:
qemu-nbd.c:371: warning: ‘daemon’ is deprecated (declared at
/usr/include/stdlib.h:289)
8<
The following trick, used in mDNSResponder, takes care of this warning:
http://w
Hello qemu-devel
Would you like to earn an extra $200 everyday?, for just 45 minutes work? You
could quit your job and make double the money at home working for yourself.
visit->http:tinyurl.com/3brnlpx
Regards,
Sharon Burns
Survey Human Resources Dept.
There is some commonality between the UHCI and EHCI (and xHCI, future) drivers.
So
we can make nice defines instead of magic numbers.
usb-ehci.c |2 +-
usb-uhci.c |2 +-
usb.h |6 ++
3 files changed, 8 insertions(+), 2 deletions(-)
Fix the following warning by including signal.h directly in qemu-common.h
8<
iohandler.c: In function ‘qemu_init_child_watch’:
iohandler.c:172: warning: implicit declaration of function ‘sigaction’
iohandler.c:172: warning: nested extern declaration of ‘sigaction’
8<
Signed-off-by:
Signed-off-by: Brad Hards
---
hw/usb-ehci.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c
index f63519e..81b9d0b 100644
--- a/hw/usb-ehci.c
+++ b/hw/usb-ehci.c
@@ -1970,7 +1970,7 @@ static int usb_ehci_initfn(PCIDevice *dev)
// pci_
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
On Thu, 2 Jun 2011 01:54:05 AM Luiz Capitulino wrote:
> QEMU supports socket chardevs that establish connections like a server
> or a client.
Is this protocol documented anywhere?
Brad
From: Anthony Liguori
Signed-off-by: Michael Roth
---
json-lexer.c | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/json-lexer.c b/json-lexer.c
index 65c9720..fe5a060 100644
--- a/json-lexer.c
+++ b/json-lexer.c
@@ -18,6 +18,8 @@
#include "qemu-common.h"
Signed-off-by: Michael Roth
---
qapi-schema-guest.json | 198
1 files changed, 198 insertions(+), 0 deletions(-)
create mode 100644 qapi-schema-guest.json
diff --git a/qapi-schema-guest.json b/qapi-schema-guest.json
new file mode 100644
index 0
On 06/01/2011 02:56 PM, Christophe Fergeau wrote:
This warning is new in gcc 4.6.
Signed-off-by: Christophe Fergeau
---
hw/lsi53c895a.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index 83084b6..90c6cbc 100644
--- a/hw/lsi53c895a
The following changes since commit 578c7b2ca8ee9e97fa8693b1a83d517e8e3f962e:
audio: fix integer overflow expression (2011-06-01 00:14:07 +0400)
are available in the git repository at:
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master
Yang, Wei Y (1):
kvm: Enable CPU SMEP fea
This is the actual guest daemon, it listens for requests over a
virtio-serial/isa-serial/unix socket channel and routes them through
to dispatch routines, and writes the results back to the channel in
a manner similar to QMP.
A shorthand invocation:
qemu-ga -d
Is equivalent to:
qemu-ga -c v
Signed-off-by: Brad Hards
---
hw/usb-uhci.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c
index c0de05b..d9c86ad 100644
--- a/hw/usb-uhci.c
+++ b/hw/usb-uhci.c
@@ -1098,7 +1098,7 @@ static int usb_uhci_common_initfn(UHCIState *s)
pci_
From: Lai Jiangshan
New QERR_UNSUPPORTED for unsupported commands or requests.
Signed-off-by: Luiz Capitulino
---
qerror.c |4
qerror.h |3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/qerror.c b/qerror.c
index 4855604..4f3b7ca 100644
--- a/qerror.c
+++ b/qer
From: Anthony Liguori
Signed-off-by: Michael Roth
---
json-streamer.c | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/json-streamer.c b/json-streamer.c
index 549e9b7..6b9af63 100644
--- a/json-streamer.c
+++ b/json-streamer.c
@@ -18,6 +18,9 @@
#includ
Hi,
On 06/01/2011 12:48 PM, Gerd Hoffmann wrote:
On 05/31/11 11:35, Hans de Goede wrote:
We might check for it being NULL later, if the device gets unplugged.
---
usb-linux.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/usb-linux.c b/usb-linux.c
index 4d7a31a..ea3ab5f 10
This **CHANGES** the human monitor "nmi" command behavior.
Currently it accepts an CPU argument which, when provided, will send
the NMI to the specified CPU. This feature is of discussable value
though and HMP shouldn't have more features than QMP, so let's use
QMP's instead (it's also simpler).
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
Signed-off-by: Michael Roth
---
json-streamer.c |2 ++
json-streamer.h |1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/json-streamer.c b/json-streamer.c
index 6b9af63..a6cb28f 100644
--- a/json-streamer.c
+++ b/json-streamer.c
@@ -65,6 +65,7 @
From: Anthony Liguori
Signed-off-by: Michael Roth
---
Makefile |4 ++--
Makefile.objs |4 ++--
json-parser.c | 19 ---
json-parser.h |2 ++
qerror.h |3 +++
5 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index 2b0
Anthony,
The following patches have been sent to the list and look good to me. I've
also tested them.
The changes (since 578c7b2ca8ee9e97fa8693b1a83d517e8e3f962e) are available
in the following repository:
git://repo.or.cz/qemu/qmp-unstable.git for-anthony
Lai Jiangshan (2):
QMP: QErr
This allows a JSON_ERROR state to be passed to the streamer to force a
flush of the current tokens and pass a NULL token list to the parser
rather that have it churn on bad data. (Alternatively we could just not
pass it to the parser at all, but it may be useful to push there errors
up the stack. N
On 06/01/2011 07:29 AM, Avi Kivity wrote:
> On 06/01/2011 05:01 PM, Richard Henderson wrote:
>> > +err = dev->mmu->translate(dev, addr,&paddr,&plen, is_write);
>>
>> I see you didn't take my suggestion for using an opaque callback pointer.
>> Really and truly, I won't be able to use this a
The following changes since commit 578c7b2ca8ee9e97fa8693b1a83d517e8e3f962e:
Juha Riihim?ki (1):
audio: fix integer overflow expression
are available in the git repository at:
git://repo.or.cz/qemu/aliguori/jvrao.git for-anthony
Aneesh Kumar K.V (4):
virtio-9p: Don't link to 9
On Thu, 26 May 2011 18:12:08 -0300
Luiz Capitulino wrote:
> On Thu, 19 May 2011 14:33:19 +0200
> Kevin Wolf wrote:
>
> > These printfs aren't really debug messages, but clearly indicate a bug if
> > they
> > ever become effective.
>
> Then we have a bug somewhere, starting a VM with:
>
> #
Registration/lookup functions for that provide a lookup table for
dispatching QMP commands.
Signed-off-by: Michael Roth
---
qapi/qmp-registry.c | 27 +++
1 files changed, 27 insertions(+), 0 deletions(-)
create mode 100644 qapi/qmp-registry.c
diff --git a/qapi/qmp-reg
From: Luiz Capitulino
Refactor non-QError-specific bits out of qerror_human() into general
function that can be used by the error_get_pretty() analogue in the
new error-propagation framework.
Signed-off-by: Luiz Capitulino
Signed-off-by: Michael Roth
---
qerror.c | 44 ++
On 06/01/2011 08:35 AM, Eduard - Gabriel Munteanu wrote:
> Maybe it's not nice, but you're missing the fact upcasting gives you
> some type safety. With opaques you have none.
Lol. Do you understand what container_of does?
This is not dynamic_cast<> with RTTI.
You can put any type name in there
On 06/01/2011 04:36 PM, Michael S. Tsirkin wrote:
Ah, I think I understand now. Both sense and data have in
fields that might only be used partially?
In that case I think I agree: it's best to require the use of separate
buffers for them, in this way used len will give you useful information
and
Am 28.05.2011 um 16:20 schrieb Alexander Graf:
On 28.05.2011, at 16:16, Andreas Färber wrote:
Am 28.05.2011 um 16:03 schrieb Alexander Graf:
On 28.05.2011, at 16:01, Andreas Färber wrote:
diff --git a/libfdt_env.h b/libfdt_env.h
index ee0419f..90d7f3b 100644
--- a/libfdt_env.h
+++ b/libfdt
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_
From: Anthony Liguori
Signed-off-by: Michael Roth
---
json-lexer.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/json-lexer.c b/json-lexer.c
index fe5a060..a5bbe9e 100644
--- a/json-lexer.c
+++ b/json-lexer.c
@@ -305,6 +305,9 @@ static int json_lexer_feed_char(JSON
From: Luiz Capitulino
Will be used by new error propagation framework to convert Error objects
into human-readable form.
Signed-off-by: Luiz Capitulino
Signed-off-by: Michael Roth
---
qerror.c | 15 +++
qerror.h |1 +
2 files changed, 16 insertions(+), 0 deletions(-)
diff -
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
Kevin Wolf writes:
> Am 01.06.2011 15:44, schrieb Luiz Capitulino:
>> On Thu, 26 May 2011 18:12:08 -0300
>> Luiz Capitulino wrote:
>>
>>> On Thu, 19 May 2011 14:33:19 +0200
>>> Kevin Wolf wrote:
>>>
These printfs aren't really debug messages, but clearly indicate a bug if
they
Signed-off-by: Michael Roth
---
qga/guest-agent-worker.c | 179 ++
1 files changed, 179 insertions(+), 0 deletions(-)
create mode 100644 qga/guest-agent-worker.c
diff --git a/qga/guest-agent-worker.c b/qga/guest-agent-worker.c
new file mode 100644
i
This adds the initial set of QMP/QAPI commands provided by the guest
agent:
guest-sync
guest-ping
guest-info
guest-file-open
guest-file-read
guest-file-write
guest-file-seek
guest-file-close
guest-fsfreeze-freeze
guest-fsfreeze-thaw
guest-fsfreeze-status
The input/output specification for these c
Signed-off-by: Michael Roth
---
qlist.h | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/qlist.h b/qlist.h
index dbe7b92..cd2d23e 100644
--- a/qlist.h
+++ b/qlist.h
@@ -16,6 +16,7 @@
#include "qobject.h"
#include "qemu-queue.h"
#include "qemu-common.h"
+#inc
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
Thanks, applied to the cocoa branch with a modified description.
Am 30.05.2011 um 04:32 schrieb Alexandre Raymond:
I didn't notice anything broken. I just stumbled upon this bug while
reviewing the code.
Alexandre
On Sun, May 29, 2011 at 8:09 PM, Alexandre Raymond
wrote:
Sure, I'm fine wi
On Wed, Jun 1, 2011 at 1:05 PM, Kevin Wolf wrote:
> Block drivers that don't support creating images don't have a size option.
> Fail
> gracefully instead of segfaulting when trying to access the option's value.
>
> Signed-off-by: Kevin Wolf
> ---
> block.c | 5 +++--
> 1 files changed, 3 in
Am 30.05.2011 um 00:32 schrieb Peter Maydell:
On 29 May 2011 23:22, Alexandre Raymond wrote:
diff --git a/ui/cocoa.m b/ui/cocoa.m
index 1ff1ac6..e1312d3 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -872,7 +872,8 @@ int main (int argc, const char * argv[]) {
if (opt[1] == '-') {
On Tue, May 31, 2011 at 08:47:25AM -0500, Anthony Liguori wrote:
> On 05/29/2011 04:50 PM, Andreas Färber wrote:
> >BeOS and Haiku don't define SIGIO. When undefined, it won't arrive
> >and doesn't need to be blocked.
> >
> >Signed-off-by: Andreas Färber
>
> Anything to do with signal masks is nev
From: Lai Jiangshan
inject-nmi command injects an NMI on all CPUs of guest.
It is only supported for x86 guest currently, it will
returns "Unsupported" error for non-x86 guest.
Signed-off-by: Luiz Capitulino
---
monitor.c | 17 +
qmp-commands.hx | 27 +
Am 30.05.2011 um 00:22 schrieb Alexandre Raymond:
There was already a check in place to avoid displaying a window
in certain modes such as vnc, nographic or curses.
Add a check for '-h' and '-help' to avoid displaying a window for a
split-
second before showing the usage information.
Signed
On Wed, Jun 1, 2011 at 10:42 PM, Vivek Goyal wrote:
> On Wed, Jun 01, 2011 at 10:15:30PM +0100, Stefan Hajnoczi wrote:
>> One issue that concerns me is how effective iops and throughput are as
>> capping mechanisms. If you cap throughput then you're likely to
>> affect sequential I/O but do littl
From: Stefan Hajnoczi
QEMU supports socket chardevs that establish connections like a server
or a client. The QEMUMonitorProtocol class only supports connecting as
a client. It is not possible to connect race-free when launching QEMU
since trying to connect before QEMU has bound and is listenin
Hi Folks,
Could anyone give me a 101 lesson on what is "two-pass PCI initialization"?
I tried some time ago to pass a LSI megaraid to a rhel5 guest, but the
initialization of the pci device inside the VM fails (because, I think, it
was already initialized in the host).
Just wondering could that
On Wed, Jun 01, 2011 at 04:40:15PM +0200, Rudolf Marek wrote:
> >Having a brief look at the coreboot code it seems static stuff (compiled by
> >iasl) and dynamic bits are combined into the final dsdt table, is that
> >correct?
>
> Yes the dsdt is static, it has just external references to ssdt
>
On Wed, Jun 01, 2011 at 09:53:46AM -0600, David Ahern wrote:
> I think you want those to be ehci->pid instead of deleting them.
Yeah, this is exactly what I was wondering while making this patch,
but couldn't decide which one was supposed to be given my total lack
of knowledge of USB and of this c
On 06/01/2011 06:56 AM, Christophe Fergeau wrote:
> @@ -1134,11 +1128,8 @@ static int ehci_process_itd(EHCIState *ehci,
>
> DPRINTF("ISOCH: buffer %08X len %d\n", ptr, len);
>
> -if (!dir) {
> +if (!dir)
> cpu_physical_memory_rw(ptr, &ehci->
From: "brill...@viatech.com.cn"
When KVM is running on VIA CPU with host cpu's model, the
feautures of VIA CPU will be passed into kvm guest by calling
the CPUID instruction for Centaur.
Signed-off-by: BrillyWu
Signed-off-by: KaryJin
Signed-off-by: Marcelo Tosatti
---
target-i386/cpu.h |
Signed-off-by: Michael Roth
---
Makefile |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 6636d2a..9049ff2 100644
--- a/Makefile
+++ b/Makefile
@@ -146,7 +146,7 @@ check-qfloat: check-qfloat.o qfloat.o $(CHECK_PROG_DEPS)
check-qjson: chec
From: Stefan Hajnoczi
The get_events() function polls for new QMP events and then returns. It
can be useful to wait for the next QMP event so add the boolean 'wait'
keyword argument.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Luiz Capitulino
---
QMP/qmp.py | 11 ---
1 files chan
Base declarations and includes for qapi types generator.
Signed-off-by: Michael Roth
---
qapi/qapi-types-core.h | 21 +
1 files changed, 21 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
On Wed, Jun 1, 2011 at 10:13 AM, Alexander Graf wrote:
>
> On 01.06.2011, at 11:11, Kevin Wolf wrote:
>
>> Am 01.06.2011 10:49, schrieb Alexander Graf:
>>>
>>> On 01.06.2011, at 06:29, Stefan Hajnoczi wrote:
>>>
On Sun, May 29, 2011 at 2:19 PM, Fam Zheng wrote:
> As a project of Google S
Signed-off-by: Michael Roth
---
docs/qapi-code-gen.txt | 315
1 files changed, 315 insertions(+), 0 deletions(-)
create mode 100644 docs/qapi-code-gen.txt
diff --git a/docs/qapi-code-gen.txt b/docs/qapi-code-gen.txt
new file mode 100644
index 0
Base definitions/includes for Visiter interface used by generated
visiter/marshalling code.
Signed-off-by: Michael Roth
---
qapi/qapi-visit-core.h | 187
1 files changed, 187 insertions(+), 0 deletions(-)
create mode 100644 qapi/qapi-visit-core.
On 06/01/11 12:20, Rudolf Marek wrote:
Sorry I forgot to include all addresses.
I don't know how much work it would be to generate the DSDT
dynamically from
Qemu, but IMHO that's the sanest way to make things flexible. We could
probably even extract most information from the Qdev tree.
Well I
This allows us to build qemu-ga with "make qemu-ga". It pulls in the
qemu-tools deps, but does not currently build by default. This may
change to avoid bitrot and help with host-side-only unit tests.
Signed-off-by: Michael Roth
---
Makefile | 22 +-
qemu-ga.c | 10 ++
On 06/01/2011 04:12 PM, Luiz Capitulino wrote:
Hi there,
There are people who want to use QMP for thin provisioning. That's, the VM is
started with a small storage and when a no space error is triggered, more space
is allocated and the VM is put to run again.
QMP has two limitations that preven
On Wed, Jun 01, 2011 at 10:15:30PM +0100, Stefan Hajnoczi wrote:
> On Wed, Jun 1, 2011 at 2:20 PM, Vivek Goyal wrote:
> > On Tue, May 31, 2011 at 06:30:09PM -0500, Anthony Liguori wrote:
> >
> > [..]
> >> The level of consistency will then depend on whether you overcommit
> >> your hardware and ho
From: "Yang, Wei Y"
This patchset enables a new CPU feature SMEP (Supervisor Mode Execution
Protection) in QEMU-KVM. SMEP prevents kernel from executing code in
application.
Updated Intel SDM describes this CPU feature. The document will be published
soon.
SMEP is identified by CPUID leaf 7 EB
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
On Wed, Jun 1, 2011 at 2:20 PM, Vivek Goyal wrote:
> On Tue, May 31, 2011 at 06:30:09PM -0500, Anthony Liguori wrote:
>
> [..]
>> The level of consistency will then depend on whether you overcommit
>> your hardware and how you have it configured.
>
> Agreed.
>
>>
>> Consistency is very hard becaus
Markus, Stefan,
Am 30.05.2011 um 00:22 schrieb Alexandre Raymond:
8<
qemu/target-lm32/translate.c: In function
‘gen_intermediate_code_internal’:
qemu/target-lm32/translate.c:1135: warning: format ‘%zd’ expects
type ‘signed size_t’, but argument 4 has type ‘int’
8<
Both gen
Currently when we reach an error state we effectively flush everything
fed to the lexer, which can put us in a state where we keep feeding
tokens into the parser at arbitrary offsets in the stream. This makes it
difficult for the lexer/tokenizer/parser to get back in sync when bad
input is made by
Hi there,
There are people who want to use QMP for thin provisioning. That's, the VM is
started with a small storage and when a no space error is triggered, more space
is allocated and the VM is put to run again.
QMP has two limitations that prevent people from doing this today:
1. The BLOCK_IO_
On 06/01/2011 07:25 PM, Paolo Bonzini wrote:
On 06/01/2011 03:46 PM, Avi Kivity wrote:
Virtqueues
0:control transmitq
1:control receiveq
2:requestq
Shouldn't we plan multiqueue for this from day 1?
How would you do multiqueue? Just provide N queues, and the device
can pla
On 06/01/2011 03:46 PM, Avi Kivity wrote:
Virtqueues
0:control transmitq
1:control receiveq
2:requestq
Shouldn't we plan multiqueue for this from day 1?
How would you do multiqueue? Just provide N queues, and the device can
place requests for any LUN on any queue?
If tha
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
Signed-off-by: Michael Roth
---
qga/guest-agent-command-state.c | 73 +++
1 files changed, 73 insertions(+), 0 deletions(-)
create mode 100644 qga/guest-agent-command-state.c
diff --git a/qga/guest-agent-command-state.c b/qga/guest-agent-command-state.c
ne
From: Anthony Liguori
Once we detect a malformed message, make sure to reset our state.
Signed-off-by: Michael Roth
---
json-streamer.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/json-streamer.c b/json-streamer.c
index f7e7a68..549e9b7 100644
--- a/json-str
Signed-off-by: Michael Roth
---
Makefile | 13 +
Makefile.objs |7 +++
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index cf318c8..6636d2a 100644
--- a/Makefile
+++ b/Makefile
@@ -145,6 +145,19 @@ check-qlist: check-qlist.o qlist.
This is Set 1/3 of the QAPI+QGA patchsets.
These patches apply on top of master (5-31), and can also be obtained from:
git://repo.or.cz/qemu/mdroth.git qapi-backport-set1-v1
(Set1+2 are a backport of some of the QAPI-related work from Anthony's
glib tree. The main goal is to get the basic code ge
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
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
From: Anthony Liguori
Signed-off-by: Michael Roth
---
json-parser.c | 58 -
1 files changed, 57 insertions(+), 1 deletions(-)
diff --git a/json-parser.c b/json-parser.c
index ac4063a..58e973b 100644
--- a/json-parser.c
+++ b/json-parse
Signed-off-by: Michael Roth
---
qerror.c |4
qerror.h |3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/qerror.c b/qerror.c
index c18641f..059981b 100644
--- a/qerror.c
+++ b/qerror.c
@@ -209,6 +209,10 @@ static const QErrorStringTable qerror_table[] = {
1 - 100 of 182 matches
Mail list logo