form of an indexable array so that we can save/restore state by
manipulating indices. With this patch applied the above QMP/JSON request
can be parsed in under a second.
Tested with valgrind, make check, and QMP.
Signed-off-by: Michael Roth
---
On Mon, Aug 13, 2012 at 03:01:56PM -0300, Luiz Capitulino wrote:
> On Fri, 10 Aug 2012 18:24:10 -0500
> Michael Roth wrote:
>
> > Currently, when parsing a stream of tokens we make a copy of the token
> > list at the beginning of each level of recursion so that we do not
&g
On Mon, Aug 13, 2012 at 08:49:26PM +0200, Markus Armbruster wrote:
> Michael Roth writes:
>
> > Currently, when parsing a stream of tokens we make a copy of the token
> > list at the beginning of each level of recursion so that we do not
> > modify the original list i
These patches are based are origin/master, and can also be obtained from:
git://github.com/mdroth/qemu.git qidl-base
This is a cleanup of the infrastructure bits from
"[RFC v2] Use QEMU IDL for device serialization/introspection".
I know this is pretty late into the release cycle, but the patche
.
Signed-off-by: Michael Roth
---
scripts/qapi.py |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/qapi.py b/scripts/qapi.py
index a347203..47cd672 100644
--- a/scripts/qapi.py
+++ b/scripts/qapi.py
@@ -81,7 +81,7 @@ def parse_schema(fp):
if line.startswith('#
d()'s.
Old Cache entries are evicted as soon as we attempt to read() from
offset 0 again.
Reviewed-by: Anthony Liguori
Signed-off-by: Michael Roth
---
QMP/qom-fuse | 24 +---
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/QMP/qom-fuse b/QMP/qom-fus
uninitialized elements.
Add handling for these in the code generators as well.
Reviewed-by: Anthony Liguori
Signed-off-by: Michael Roth
---
scripts/qapi.py |8 --
scripts/qapi_commands.py |8 +++---
scripts/qapi_types.py|2 +-
scripts/qapi_visit.py| 64
Reviewed-by: Anthony Liguori
Signed-off-by: Michael Roth
---
scripts/qapi_visit.py | 143 +
1 file changed, 74 insertions(+), 69 deletions(-)
diff --git a/scripts/qapi_visit.py b/scripts/qapi_visit.py
index 04ef7c4..25707f5 100644
--- a/scripts
Signed-off-by: Michael Roth
---
scripts/qidl_parser.py | 512
1 file changed, 512 insertions(+)
create mode 100644 scripts/qidl_parser.py
diff --git a/scripts/qidl_parser.py b/scripts/qidl_parser.py
new file mode 100644
index 000..831b3f5
Signed-off-by: Michael Roth
---
qidl.h | 63 +++
1 file changed, 63 insertions(+)
create mode 100644 qidl.h
diff --git a/qidl.h b/qidl.h
new file mode 100644
index 000..210f4c6
--- /dev/null
+++ b/qidl.h
@@ -0,0 +1,63
Reviewed-by: Anthony Liguori
Signed-off-by: Michael Roth
---
qapi/Makefile.objs |1 +
qapi/misc-qapi-visit.c | 14 ++
qapi/qapi-visit-core.h |3 +++
3 files changed, 18 insertions(+)
create mode 100644 qapi/misc-qapi-visit.c
diff --git a/qapi/Makefile.objs b/qapi
Signed-off-by: Michael Roth
---
scripts/qidl.py | 282 +++
1 file changed, 282 insertions(+)
create mode 100644 scripts/qidl.py
diff --git a/scripts/qidl.py b/scripts/qidl.py
new file mode 100644
index 000..71c89bc
--- /dev/null
+++ b
qidl embeds visitor code into object files rather than linking against
seperate files, so allow for static declarations when we're using
qapi_visit.py as a library as we do with qidl.py
Reviewed-by: Anthony Liguori
Signed-off-by: Michael Roth
---
scripts/qapi_visit.py |
Signed-off-by: Michael Roth
---
Makefile |2 +
rules.mak | 15 +++-
tests/Makefile |8 +-
tests/test-qidl-included.h | 31
tests/test-qidl-linked.c | 91 +++
tests/test-qidl-linked.h | 18
Signed-off-by: Michael Roth
---
qapi/qmp-input-visitor.c | 32 +++-
1 file changed, 31 insertions(+), 1 deletion(-)
diff --git a/qapi/qmp-input-visitor.c b/qapi/qmp-input-visitor.c
index 107d8d3..c4388f3 100644
--- a/qapi/qmp-input-visitor.c
+++ b/qapi/qmp-input
Signed-off-by: Michael Roth
---
docs/qidl.txt | 343 +
1 file changed, 343 insertions(+)
create mode 100644 docs/qidl.txt
diff --git a/docs/qidl.txt b/docs/qidl.txt
new file mode 100644
index 000..19976d9
--- /dev/null
+++ b/docs
Python doesn't allow "-" in module names, so we need to rename the file
so we can re-use bits of the codegen
Reviewed-by: Anthony Liguori
Signed-off-by: Michael Roth
---
Makefile |8
scripts/{qapi-visit.py => qapi_visit.py} |
Reviewed-by: Anthony Liguori
Signed-off-by: Michael Roth
---
scripts/qapi_visit.py |9 +
1 file changed, 9 insertions(+)
diff --git a/scripts/qapi_visit.py b/scripts/qapi_visit.py
index d146013..ab44f11 100644
--- a/scripts/qapi_visit.py
+++ b/scripts/qapi_visit.py
@@ -107,6
Python doesn't allow "-" in module names, so we need to rename the file
so we can re-use bits of the codegen
Signed-off-by: Michael Roth
---
Makefile |8
scripts/{qapi-types.py => qapi_types.py} |0
tests/Makefile
Python doesn't allow "-" in module names, so we need to rename the file
so we can re-use bits of the codegen.
Signed-off-by: Michael Roth
---
Makefile |8
scripts/{qapi-commands.py => qapi_commands.py} |
Reviewed-by: Anthony Liguori
Signed-off-by: Michael Roth
---
module.h |2 ++
vl.c |1 +
2 files changed, 3 insertions(+)
diff --git a/module.h b/module.h
index c4ccd57..cb81aa2 100644
--- a/module.h
+++ b/module.h
@@ -25,6 +25,7 @@ typedef enum {
MODULE_INIT_MACHINE
Signed-off-by: Michael Roth
---
hw/qdev-properties.h | 151 ++
hw/qdev.h| 126 +
2 files changed, 152 insertions(+), 125 deletions(-)
create mode 100644 hw/qdev-properties.h
diff --git a/hw
Generally these will be serialized into lists, but the
representation can be of any form so long as it can
be deserialized into a single-dimension C array.
Signed-off-by: Michael Roth
---
qapi/qapi-visit-core.c | 25 +
qapi/qapi-visit-core.h |8
2 files
Signed-off-by: Michael Roth
---
qapi/qmp-output-visitor.c | 20
1 file changed, 20 insertions(+)
diff --git a/qapi/qmp-output-visitor.c b/qapi/qmp-output-visitor.c
index 2bce9d5..ea08795 100644
--- a/qapi/qmp-output-visitor.c
+++ b/qapi/qmp-output-visitor.c
@@ -181,6
On Tue, Aug 14, 2012 at 08:41:56PM +0100, Peter Maydell wrote:
> On 14 August 2012 17:27, Michael Roth wrote:
> >
> > Signed-off-by: Michael Roth
> > ---
> > docs/qidl.txt | 343
> > +
> > 1 file
On Mon, Aug 13, 2012 at 09:25:44PM -0500, Michael Roth wrote:
> On Mon, Aug 13, 2012 at 03:01:56PM -0300, Luiz Capitulino wrote:
> > On Fri, 10 Aug 2012 18:24:10 -0500
> > Michael Roth wrote:
> >
> > > +qlist_iter(tokens, tokens_count_from_iter, &
Signed-off-by: Michael Roth
---
qlist.c | 13 +
qlist.h |1 +
2 files changed, 14 insertions(+)
diff --git a/qlist.c b/qlist.c
index 88498b1..b48ec5b 100644
--- a/qlist.c
+++ b/qlist.c
@@ -124,6 +124,19 @@ int qlist_empty(const QList *qlist)
return QTAILQ_EMPTY(&q
vior as above. With this patch applied the test case successfully
completes in under a second.
Tested with valgrind, make check, and QMP.
Signed-off-by: Michael Roth
---
json-parser.c | 229 +++--
1 file changed, 141 insertions(+), 88 d
Signed-off-by: Michael Roth
---
tests/check-qjson.c | 53 +++
1 file changed, 53 insertions(+)
diff --git a/tests/check-qjson.c b/tests/check-qjson.c
index 526e25e..ef9b529 100644
--- a/tests/check-qjson.c
+++ b/tests/check-qjson.c
@@ -690,6
On Wed, Aug 15, 2012 at 12:09:09PM -0600, Eric Blake wrote:
> On 08/15/2012 11:56 AM, Michael Roth wrote:
> > Currently, when parsing a stream of tokens we make a copy of the token
> > list at the beginning of each level of recursion so that we do not
> > modify the original l
Signed-off-by: Michael Roth
---
qlist.c | 13 +
qlist.h |1 +
2 files changed, 14 insertions(+)
diff --git a/qlist.c b/qlist.c
index 88498b1..b48ec5b 100644
--- a/qlist.c
+++ b/qlist.c
@@ -124,6 +124,19 @@ int qlist_empty(const QList *qlist)
return QTAILQ_EMPTY(&q
Signed-off-by: Michael Roth
---
tests/check-qjson.c | 53 +++
1 file changed, 53 insertions(+)
diff --git a/tests/check-qjson.c b/tests/check-qjson.c
index 526e25e..3b896f5 100644
--- a/tests/check-qjson.c
+++ b/tests/check-qjson.c
@@ -466,6
vior as above. With this patch applied the test case successfully
completes in under a second.
Tested with valgrind, make check, and QMP.
Signed-off-by: Michael Roth
---
json-parser.c | 230 +++--
1 file changed, 142 insertions(+), 88 d
On Wed, Aug 15, 2012 at 01:52:33PM -0600, Eric Blake wrote:
> On 08/15/2012 12:45 PM, Michael Roth wrote:
> > Signed-off-by: Michael Roth
> > ---
> > qlist.c | 13 +
> > qlist.h |1 +
> > 2 files changed, 14 insertions(+)
>
> No cover-l
On Wed, Aug 15, 2012 at 02:04:52PM -0600, Eric Blake wrote:
> On 08/15/2012 12:45 PM, Michael Roth wrote:
> > Currently, when parsing a stream of tokens we make a copy of the token
> > list at the beginning of each level of recursion so that we do not
> > modify the original l
On Thu, Aug 16, 2012 at 11:11:26AM -0300, Luiz Capitulino wrote:
> On Wed, 15 Aug 2012 13:45:43 -0500
> Michael Roth wrote:
>
> > Currently, when parsing a stream of tokens we make a copy of the token
> > list at the beginning of each level of recursion so that we do not
&g
On Thu, Aug 16, 2012 at 10:40:05AM -0300, Luiz Capitulino wrote:
> On Wed, 15 Aug 2012 13:45:42 -0500
> Michael Roth wrote:
>
> >
> > Signed-off-by: Michael Roth
>
> I've applied this series to the qmp branch for 1.2. I'll run some tests and if
> a
On Mon, Aug 20, 2012 at 10:54:29AM -0300, Luiz Capitulino wrote:
> On Fri, 17 Aug 2012 10:11:29 -0700 (PDT)
> desi babu wrote:
>
> > Guest-Agent : Windows 2008 Error : Relase 1.1.90
> >
> > error : internal error unable to execute QEMU command
> > 'guest-fsfreeze-freeze': this feature or comman
On Fri, Aug 17, 2012 at 12:50:14PM -, linuxale wrote:
> Public bug reported:
>
> Linux Distro: Gentoo
>
> Smartcard Activkey doesn't work anymore. I use it without problem till version
> qemu-kvm-1.0.1.
>
> Follow a log extraction:
> 2012-08-14 16:27:34.751+: 5487: error : qemuProcessRea
On Tue, Aug 21, 2012 at 02:39:35PM +0200, Michal Privoznik wrote:
> This is a useful hint for users (or libvirt) whether a command returns
> anything success and hence wait for reply or not.
I'm not necessarilly against this patch, but I think we should clarify it's
purpose.
Commands that don't r
...
unknown backend, must be one of:
nss-emulated
certificates
qemu-system-x86_64: -device
ccid-card-emulated,id=smartcard0,backend=nss-certificates: Device
'ccid-card-emulated' could not be initialized
Signed-off-by: Michael Roth
---
hw/ccid-card-emulated.c |3 +++
1 file changed,
Signed-off-by: Michael Roth
Signed-off-by: Anthony Liguori
(cherry picked from commit 7109edfeb69c1d3c2164175837784dfcd210fed0)
Signed-off-by: Michael Roth
---
tests/check-qjson.c | 53 +++
1 file changed, 53 insertions(+)
diff --git a/tests
didn't specify a CPU with --cpu. This
fixes a bug where the user's command line argument was being
ignored.
Reviewed-by: Andreas F=E4rber
Signed-off-by: Peter Maydell
Signed-off-by: Anthony Liguori
(cherry picked from commit bbea4050802a2e7e0296a21823c0925782c02b93)
Signed-off-by: Mi
Signed-off-by: Michael Roth
---
VERSION |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/VERSION b/VERSION
index 524cb55..45a1b3f 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.1.1
+1.1.2
--
1.7.9.5
vior as above. With this patch applied the test case successfully
completes in under a second.
Tested with valgrind, make check, and QMP.
Reviewed-by: Eric Blake
Signed-off-by: Michael Roth
Signed-off-by: Anthony Liguori
(cherry picked from commit 65c0f1e9558c7c762cdb333406243fff1d687117
It worked :-)
Cc: Andreas Faerber
Reported-by: Markus Armbruster
Signed-off-by: Anthony Liguori
(cherry picked from commit 7de3abe505e34398cef5bddf6c4d0bd9ee47007f)
Signed-off-by: Michael Roth
---
hw/qdev.c |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hw/qdev.c b
Signed-off-by: Marcelo Tosatti
(cherry picked from commit a9605e0317c7a6d5e68f3a3b6708c8ef1096f4bc)
Signed-off-by: Michael Roth
---
hw/apic_common.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/apic_common.c b/hw/apic_common.c
index 60b8259..e4612bb 100644
--- a
ri
(cherry picked from commit 039380a8e18f618cdacf72486449c04dc1b70eef)
Signed-off-by: Michael Roth
---
tests/libqtest.c |5 +
1 file changed, 5 insertions(+)
diff --git a/tests/libqtest.c b/tests/libqtest.c
index 6d333ef..0664323 100644
--- a/tests/libqtest.c
+++ b/tests/libqtest.c
ff-by: Jan Kiszka
Signed-off-by: Avi Kivity
(cherry picked from commit 5d62c43a17edaa7f6a88821c9086e6c8e0e5327d)
Signed-off-by: Michael Roth
---
cpu-exec.c |6 ++
hw/apic.c |5 -
hw/apic.h |1 +
hw/apic_internal.h |1 -
target-i386/cpu.h |
Signed-off-by: Michael Roth
Reviewed-by: Eric Blake
Signed-off-by: Michael Roth
Signed-off-by: Anthony Liguori
(cherry picked from commit a86a4c2f7b7f0b72816ea1c219d8140699b6665b)
Signed-off-by: Michael Roth
---
qlist.c | 13 +
qlist.h |1 +
2 files changed, 14 insertions
From: Gerd Hoffmann
Signed-off-by: Gerd Hoffmann
(cherry picked from commit 495d544798151206bafca65ec588c0388637eb40)
Signed-off-by: Michael Roth
---
hw/usb/bus.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/hw/usb/bus.c b/hw/usb/bus.c
index 2068640..77b2b99 100644
tch the cached content before reusing it.
Cc: Hans de Goede
Signed-off-by: Gerd Hoffmann
(cherry picked from commit 9bc3a3a216e2689bfcdd36c3e079333bbdbf3ba0)
Conflicts:
hw/usb/hcd-ehci.c
Signed-off-by: Michael Roth
---
hw/usb/hcd-ehci.c | 34 --
1 fil
ned-off-by: Jan Kiszka
(cherry picked from commit 927d811b282ffdf5386bd63f435c1507634ba49a)
Signed-off-by: Michael Roth
---
net/slirp.c | 12
1 file changed, 12 insertions(+)
diff --git a/net/slirp.c b/net/slirp.c
index c73610e..d3fcbf4 100644
--- a/net/slirp.c
+++ b/net/sl
n code values.
Signed-off-by: Christian Borntraeger
Signed-off-by: Alexander Graf
(cherry picked from commit 9abf567d95a4e840df868ca993219175fbef8c22)
Signed-off-by: Michael Roth
---
target-s390x/kvm.c |5 +++--
target-s390x/op_helper.c | 27 ++-
2 files c
a small
optimization.
Signed-off-by: David Gibson
Signed-off-by: Alexander Graf
(cherry picked from commit 78e8fde26c032931ca2ae13bfc7c59e38afd17ee)
Signed-off-by: Michael Roth
---
target-ppc/kvm.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-ppc/kvm.c b/target-ppc
Signed-off-by: Kevin Wolf
(cherry picked from commit 730a9c53b4e52681fcfe31cf38854cbf91e132c7)
Signed-off-by: Michael Roth
---
hw/virtio-blk.c |1 +
1 file changed, 1 insertion(+)
diff --git a/hw/virtio-blk.c b/hw/virtio-blk.c
index fe07746..f44d244 100644
--- a/hw/virtio-blk.c
+++ b/hw
From: Jan Kiszka
When the guest modifies the LVT_LINT0 register, we need to check if some
pending PIC interrupt can now be delivered.
Signed-off-by: Jan Kiszka
Signed-off-by: Avi Kivity
(cherry picked from commit a94820ddc36f8c452b37f9dcb323f55ffdbc75f9)
Signed-off-by: Michael Roth
---
hw
from commit 3db3659bf60094657e1465cc809acb09551816ee)
Signed-off-by: Michael Roth
---
hw/apic.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/hw/apic.c b/hw/apic.c
index 4eeaf88..ec8f9ba 100644
--- a/hw/apic.c
+++ b/hw/apic.c
@@ -371,9 +371,6 @@ static void apic_update_irq(APICCo
-off-by: Gerd Hoffmann
(cherry picked from commit 7341ea075c09258b98a1d0efc60efd402cbfc9b4)
Signed-off-by: Michael Roth
---
hw/usb/hcd-ehci.c |1 +
1 file changed, 1 insertion(+)
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c
index ce8b405..41c9d84 100644
--- a/hw/usb/hcd-ehci.c
+++ b/hw
From: Jan Kiszka
Instead of guessing, print the error code returned by access.
Signed-off-by: Jan Kiszka
(cherry picked from commit 22a61f365df83d5d7884cceb1c462295977cb2db)
Signed-off-by: Michael Roth
---
net/slirp.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
From: Hans de Goede
Signed-off-by: Hans de Goede
Signed-off-by: Gerd Hoffmann
(cherry picked from commit adae502c0ae4572ef08f71cb5b5ed5a8e90299fe)
Signed-off-by: Michael Roth
---
hw/usb/redirect.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
(cherry picked from commit 1cb1c5d10bb9e180bd3f7be2c10b212ed86a97b4)
Signed-off-by: Michael Roth
---
net/slirp.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/net/slirp.c b/net/slirp.c
index 96f5032..c73610e 100644
--- a/net/slirp.c
+++ b/net/slirp.c
@@ -26,6
ommit 77fa9aee38758a078870e25f0dcf642066b4d5cc)
Signed-off-by: Michael Roth
---
hw/usb/hcd-uhci.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c
index 9e211a0..3803f52 100644
--- a/hw/usb/hcd-uhci.c
+++ b/hw/usb/hcd-uhci.c
@@ -288,10 +288,10 @@ static
b directories
apic: Resolve potential endless loop around apic_update_irq
apic: Reevaluate pending interrupts on LVT_LINT0 changes
apic: Defer interrupt updates to VCPU thread
Michael Roth (4):
qlist: add qlist_size()
json-parser: don't replicate tokens at each level of recur
From: Gerd Hoffmann
Check for the reset bit first when processing USBCMD register writes.
Also break out of the switch, there is no need to check the other bits.
Signed-off-by: Gerd Hoffmann
(cherry picked from commit 7046530c36fa3a3f87692bdb54556f5d891a9c03)
Signed-off-by: Michael Roth
On Thu, Aug 23, 2012 at 09:48:54AM -0300, Luiz Capitulino wrote:
> On Tue, 21 Aug 2012 13:57:54 +0200
> Guido Günther wrote:
>
> > This allows to retrieve the guest's hostname via gethostname(2).
> >
> > This can be useful to identify a VM e.g. one without network.
> >
> > Signed-off-by: Guido
On 01/23/2012 02:24 PM, Anthony Liguori wrote:
On 01/23/2012 08:21 AM, Michael Roth wrote:
This is monstly in preparation for the win32 port, which won't use
GIO channels for reasons that will be made clearer later. Here the
GAChannel class is just a loose wrapper around GIOChannel
g (2012-01-23
11:00:26 -0600)
are available in the git repository at:
git://github.com/mdroth/qemu.git qga-pull-2012-01-23
Luiz Capitulino (2):
qemu-ga: set O_NONBLOCK for serial channels
qemu-ga: Add the guest-suspend command
Michael Roth (4):
main-loop: Fix Set
ols.o programs on Windows at runtime.
This patch checks for an initialized event handle before attempting to
set it, which is analoguous to how we deal with an unitialized
io_thread_fd in the posix implementation.
Signed-off-by: Michael Roth
---
main-loop.c |5 -
1 files changed, 4 insertions(
From: Luiz Capitulino
This fixes a bug when using -m isa-serial where qemu-ga will
hang on a read()'s when communicating to the host via isa-serial.
Original fix by Michael Roth.
Signed-off-by: Luiz Capitulino
Signed-off-by: Michael Roth
---
qemu-ga.c |2 +-
1 files chang
Signed-off-by: Luiz Capitulino
Signed-off-by: Michael Roth
---
qapi-schema-guest.json | 32 ++
qemu-ga.c | 18 -
qga/guest-agent-commands.c | 226
3 files changed, 275 insertions(+), 1 deletions(-)
diff --git a/qapi-sch
Document guest agent schema types in similar fashion as qmp schema
types.
Signed-off-by: Michael Roth
---
qapi-schema-guest.json | 118 +++-
1 files changed, 97 insertions(+), 21 deletions(-)
diff --git a/qapi-schema-guest.json b/qapi-schema
he
client.
The current default/minimum support level supports all versions of QEMU
that have had qemu-ga in-tree (0.15.0, 1.0.0) and so should be
backward-compatible with existing hosts/clients.
Signed-off-by: Michael Roth
---
qapi-schema-guest.json | 67 +++
lities, so existing users shouldn't be
affected.
Signed-off-by: Michael Roth
---
main-loop.c |2 +-
main-loop.h | 12
qemu-tool.c |3 ++-
vl.c|5 +
4 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/main-loop.c b/main-loop.c
index 62d9
On 01/26/2012 02:13 PM, Luiz Capitulino wrote:
On Thu, 26 Jan 2012 20:41:13 +0100
Michal Privoznik wrote:
On 26.01.2012 20:35, Luiz Capitulino wrote:
On Thu, 26 Jan 2012 08:18:03 -0700
Eric Blake wrote:
[adding qemu-devel]
On 01/26/2012 07:46 AM, Daniel P. Berrange wrote:
One thing, that
On 01/26/2012 09:18 AM, Eric Blake wrote:
[adding qemu-devel]
On 01/26/2012 07:46 AM, Daniel P. Berrange wrote:
One thing, that you'll probably notice is this
'set-support-level' command. Basically, it tells GA what qemu version
is it running on. Ideally, this should be done as soon as
GA start
ols.o programs on Windows at runtime.
This patch checks for an initialized event handle before attempting to
set it, which is analoguous to how we deal with an unitialized
io_thread_fd in the posix implementation.
Signed-off-by: Michael Roth
---
main-loop.c |3 +++
1 files changed, 3 insertions(
On 01/30/2012 06:57 AM, Luiz Capitulino wrote:
On Thu, 26 Jan 2012 16:57:01 -0600
Anthony Liguori wrote:
On 01/26/2012 01:35 PM, Luiz Capitulino wrote:
On Thu, 26 Jan 2012 08:18:03 -0700
Eric Blake wrote:
[adding qemu-devel]
On 01/26/2012 07:46 AM, Daniel P. Berrange wrote:
One thing, t
On 01/30/2012 08:44 AM, Luiz Capitulino wrote:
On Mon, 30 Jan 2012 07:54:56 -0600
Anthony Liguori wrote:
On 01/30/2012 06:57 AM, Luiz Capitulino wrote:
On Thu, 26 Jan 2012 16:57:01 -0600
Anthony Liguori wrote:
On 01/26/2012 01:35 PM, Luiz Capitulino wrote:
On Thu, 26 Jan 2012 08:18:03 -0
On 01/30/2012 09:58 AM, Eric Blake wrote:
On 01/30/2012 07:44 AM, Luiz Capitulino wrote:
I think we should do the following then:
1. Drop the set-support-level command
2. Split the guest-suspend command into guest-suspend-ram,
guest-suspend-hybrid,
guest-suspend-disk
3. Libvirt shou
On 01/31/2012 09:06 PM, Supriya Kannery wrote:
New command "block_set_hostcache" added for dynamically changing
host pagecache setting of a block device.
Usage:
block_set_hostcache
= block device
= on/off
Example:
(qemu) block_set_hostcache ide0-hd0 off
Signed-off-by: Supriya
On 01/31/2012 09:07 PM, Supriya Kannery wrote:
raw-posix driver changes for bdrv_reopen_xx functions to
safely reopen image files. Reopening of image files while
changing hostcache dynamically is handled here.
Signed-off-by: Supriya Kannery
Index: qemu/block/raw.c
==
These patches apply on top of qemu.git master, and can also be obtained from:
git://github.com/mdroth/qemu.git qga-win32-v2
Luiz/Gal, I decided not to roll the suspend/hibernate stuff into this series
since the s3 situation isn't fully sorted out yet. The file structure is a
little different now,
pid files, which
weren't always cleaned up previously.
Signed-off-by: Michael Roth
---
Makefile.objs |1 +
qemu-ga.c | 306
qga/channel-posix.c| 246 ++
qga/channel.h
Document guest agent schema types in similar fashion as qmp schema
types.
Signed-off-by: Michael Roth
---
qapi-schema-guest.json | 118 +++-
1 files changed, 97 insertions(+), 21 deletions(-)
diff --git a/qapi-schema-guest.json b/qapi-schema
Implement guest-shutdown RPC for Windows. Functionally this should be
equivalent to the posix implementation.
Original patch by Gal Hammer
Signed-off-by: Michael Roth
---
qga/commands-win32.c | 41 -
1 files changed, 40 insertions(+), 1 deletions
latter, and will rename guest-agent-commands.c to
commands-posix.c in a future commit. Windows implementations will go in
commands-win32.c, eventually.
Signed-off-by: Michael Roth
---
Makefile.objs |2 +-
qga/commands.c | 73
ts asynchronous/overlapped I/O to
fill an GAChannel-managed read buffer, and tells glib to poll the
corresponding event handle for a completion whenever there is no
data/RPC in the read buffer to notify the main application about.
Signed-off-by: Michael Roth
---
Makefile.objs |2 +-
qemu-ga.c
Signed-off-by: Michael Roth
---
Makefile.objs |2 +-
qga/commands-posix.c | 528
qga/guest-agent-commands.c | 528
3 files changed, 529 insertions(+), 529 deletions(-)
create mode
Original patch by Gal Hammer
Signed-off-by: Michael Roth
---
Makefile.objs |2 +-
qemu-ga.c | 103 --
qga/service-win32.c | 114 +++
qga/service-win32.h | 30 +
4 files
Various stubs and #ifdefs to compile for Windows using mingw
cross-build. Still has 1 linker error due to a dependency on the
forthcoming win32 versions of the GAChannel/transport class.
Signed-off-by: Michael Roth
---
Makefile |2 +-
Makefile.objs|9 +++--
configure
On 02/03/2012 08:18 AM, Luiz Capitulino wrote:
On Thu, 2 Feb 2012 13:58:52 -0600
Michael Roth wrote:
These patches apply on top of qemu.git master, and can also be obtained from:
git://github.com/mdroth/qemu.git qga-win32-v2
Luiz/Gal, I decided not to roll the suspend/hibernate stuff into
On 02/02/2012 10:25 PM, MATSUDA, Daiki wrote:
Hi, Michael!
Thank you for your working.
And I have a question the process id written in pid file.
If qemu-ga is ran as daemon, the parent process id not child is written
in pid file. So, id gotten by 'ps' command is different. Is it correct
work? Ma
On 02/03/2012 10:45 AM, Luiz Capitulino wrote:
On Fri, 03 Feb 2012 10:37:25 -0600
Michael Roth wrote:
On 02/03/2012 08:18 AM, Luiz Capitulino wrote:
On Thu, 2 Feb 2012 13:58:52 -0600
Michael Roth wrote:
These patches apply on top of qemu.git master, and can also be obtained from:
git
Sorry for the somewhat redundant cover letter, but needed to note that:
This applies on top of "[PATCH v2 0/8] qemu-ga: add support for Windows", and
can also be obtained from:
git://github.com/mdroth/qemu.git qga-guest-sync-delimited
As noted in the commit there's a wiki write-up with more detai
the wiki:
http://wiki.qemu.org/Features/QAPI/GuestAgent#QEMU_Guest_Agent_Protocol
Signed-off-by: Michael Roth
---
qapi-schema-guest.json | 42 +-
qemu-ga.c | 29 +++--
qga/commands-posix.c |3 ---
On Mon, Feb 06, 2012 at 06:07:34PM -0600, Michael Roth wrote:
> Sorry for the somewhat redundant cover letter, but needed to note that:
>
> This applies on top of "[PATCH v2 0/8] qemu-ga: add support for Windows", and
> can also be obtained from:
> git://github.com/mdrot
Sorry for the somewhat redundant cover letter, but needed to note that:
This applies on top of "[PATCH v2 0/8] qemu-ga: add support for Windows", and
can also be obtained from:
git://github.com/mdroth/qemu.git qga-guest-sync-delimited
CHANGES SINCE v1:
- removed deprecation flag for guest-sync,
ptimization for clients, since, after issuing a
guest-sync-delimited, clients can safely discard all stale data read
from the channel until the 0xFF is found.
More information available on the wiki:
http://wiki.qemu.org/Features/QAPI/GuestAgent#QEMU_Guest_Agent_Protocol
Signed-off-by: Michael Roth
-
On Tue, Feb 07, 2012 at 04:17:26PM +0100, Michal Privoznik wrote:
> On 07.02.2012 02:09, Michael Roth wrote:
> > guest-sync leaves it as an exercise to the user as to how to reliably
> > obtain the response to guest-sync if the client had previously read in a
> > partial
1 - 100 of 5905 matches
Mail list logo