Registration/lookup functions for that provide a lookup table for
dispatching QMP commands.
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
qapi/qmp-registry.c | 27 +++
1 files changed, 27 insertions(+), 0 deletions(-)
create mode 100644 qapi/qmp-registry.c
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
Makefile | 14 ++
Makefile.objs |7 +++
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index cf318c8..7176176 100644
--- a/Makefile
+++ b/Makefile
@@ -145,6 +145,19 @@
Base declarations and includes for qapi types generator.
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
qapi/qapi-types-core.h | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
create mode 100644 qapi/qapi-types-core.h
diff --git
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
qapi/qmp-core.h | 43 +++
1 files changed, 43 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
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
Makefile |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 7176176..944e85e 100644
--- a/Makefile
+++ b/Makefile
@@ -146,7 +146,7 @@ check-qfloat: check-qfloat.o qfloat.o
Base definitions/includes for Visiter interface used by generated
visiter/marshalling code.
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
qapi/qapi-visit-core.h | 187
1 files changed, 187 insertions(+), 0 deletions(-)
create mode
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
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
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
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
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
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
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
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
When Linux reboots an e500 VM, it writes to a magic register in the
global-utilities device indicated by the device tree. We were not
emulating that device so far, renedering the VM reboot-less.
This patch implements that device with only the reboot functionality
implemented and adds it to the
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
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
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
qapi-schema-guest.json | 201
1 files changed, 201 insertions(+), 0 deletions(-)
create mode 100644 qapi-schema-guest.json
diff --git a/qapi-schema-guest.json b/qapi-schema-guest.json
On Thu, 2 Jun 2011 20:37:30 +0200
Alexander Graf ag...@suse.de wrote:
+case MPC8544_GUTS_ADDR_PVR:
+value = env-spr[SPR_PVR];
+break;
+case MPC8544_GUTS_ADDR_SVR:
+value = env-spr[SPR_E500_SVR];
+break;
Heh, I didn't even realize these were in there
This is Set 3/3 of the QAPI+QGA patchsets.
These patches apply on top of qapi-backport-set2-v2, and can also be obtained
from:
git://repo.or.cz/qemu/mdroth.git qapi-backport-set3-v4
(Set1+2 are a backport of some of the QAPI-related work from Anthony's
glib tree. The main goal is to get the
When Linux reboots an e500 VM, it writes to a magic register in the
global-utilities device indicated by the device tree. We were not
emulating that device so far, renedering the VM reboot-less.
This patch implements that device with only the reboot functionality
implemented and adds it to the
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
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
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
This is a split patch series of the previous monolithic flat support
version, with improvements according to Kevin's comments.
Original comment:
VMDK multiple file images can not be recognized for now. This patch is
adding monolithic flat support to it, that is the image type with two
files, one
On Fri, Jun 03, 2011 at 03:28:49PM -0700, Jordan Justen wrote:
On Fri, Jun 3, 2011 at 13:36, Aurelien Jarno aurel...@aurel32.net wrote:
Ping? Cc:ed Anthony the maintainer of pc.c
Sorry, I've been meaning to rebase this and add your reviewed-by.
Would that be the right next step in this
vmdk_probe for mono flat images.
Signed-off-by: Fam Zheng famc...@gmail.com
---
block/vmdk.c | 13 ++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/block/vmdk.c b/block/vmdk.c
index f787528..bf8d02a 100644
--- a/block/vmdk.c
+++ b/block/vmdk.c
@@ -101,10 +101,17 @@
Separate vmdk_open by subformats to:
* vmdk_open_vmdk3
* vmdk_open_vmdk4
Signed-off-by: Fam Zheng famc...@gmail.com
---
block/vmdk.c | 171 +++---
1 files changed, 104 insertions(+), 67 deletions(-)
diff --git a/block/vmdk.c b/block/vmdk.c
Added VmdkExtent array to hold image extent information, with the
exsiting functionalities fit into this structure.
Signed-off-by: Fam Zheng famc...@gmail.com
---
block/vmdk.c | 301 ++
1 files changed, 200 insertions(+), 101 deletions(-)
Vmdk flush in extent array style.
Signed-off-by: Fam Zheng famc...@gmail.com
---
block/vmdk.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/block/vmdk.c b/block/vmdk.c
index f1233cf..1d74b62 100644
--- a/block/vmdk.c
+++ b/block/vmdk.c
@@ -1094,7 +1094,14 @@
On 04.06.2011, at 01:42, Scott Wood wrote:
On Thu, 2 Jun 2011 20:37:30 +0200
Alexander Graf ag...@suse.de wrote:
+case MPC8544_GUTS_ADDR_PVR:
+value = env-spr[SPR_PVR];
+break;
+case MPC8544_GUTS_ADDR_SVR:
+value = env-spr[SPR_E500_SVR];
+break;
In get_whole_cluster, the offset is not aligned, to cluster when
reading from backing_hd. So if it's the first write to child and the
offset is not the cluster boundary, data is copied from parent at a
wrong position.
Signed-off-by: Fam Zheng famc...@gmail.com
---
block/vmdk.c |2 ++
1 files
Cid_update is a flag to update image cid on the first write after each
image open. Using a static may suppress the cid update of second
opened image.
Signed-off-by: Fam Zheng famc...@gmail.com
---
block/vmdk.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git
There are several occurrence of magic number 0x200 as the descriptor
offset within mono sparse image file. This is not the case for images
with separate descriptor file. So a field is added to BDRVVmdkState to
hold the correct value.
Signed-off-by: Fam Zheng famc...@gmail.com
---
block/vmdk.c |
As mono flat format being introduced, cluster offset of 0 becomes a
valid value. get_cluster_offset now return non-zero on fail, and 0 on
success.
Signed-off-by: Fam Zheng famc...@gmail.com
---
block/vmdk.c | 86 -
1 files changed, 54
A flag is added, as there are basically two extent type: SPARSE and
FLAT, this flat can be used in future subformats too.
Create vmdk mono flat image with `qemu-img create -o flat`.
Signed-off-by: Fam Zheng famc...@gmail.com
---
block/vmdk.c | 297
Vmdk_open for mono flat image.
Signed-off-by: Fam Zheng famc...@gmail.com
---
block/vmdk.c | 134 +++---
1 files changed, 128 insertions(+), 6 deletions(-)
diff --git a/block/vmdk.c b/block/vmdk.c
index b02a7b7..f1233cf 100644
---
Signed-off-by: Fam Zheng famc...@gmail.com
---
block/vmdk.c |9 +++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/block/vmdk.c b/block/vmdk.c
index 1d74b62..bbab68a 100644
--- a/block/vmdk.c
+++ b/block/vmdk.c
@@ -1086,10 +1086,15 @@ exit:
static void
The `qemu-img info` results for mono flat image are no longer
accurate, as the disk size was the length of bs-file, which is not
the case for multi file images (such as vmdk images with multiple
files).
The new field disk_size in BlockDriverState can be used by block
driver to tell the exact disk
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/3ot9sgy
Regards,
Jenny Smith
Survey Human Resources Dept.
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/3ot9sgy
Regards,
Jenny Smith
Survey Human Resources Dept.
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/3ot9sgy
Regards,
Jenny Smith
Survey Human Resources Dept.
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/3ot9sgy
Regards,
Jenny Smith
Survey Human Resources Dept.
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/3ot9sgy
Regards,
Jenny Smith
Survey Human Resources Dept.
101 - 139 of 139 matches
Mail list logo