On Wed, 10 Nov 2010 14:33:47 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 10 Nov 2010 13:56:39 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 10 Nov 2010 10:26:15
Simple example:
- { execute: hmp_passthrough, arguments: { command-line: print /i
10+25 } }
- { return: 35\r\n }
Please, check individual patches for details. Also note that this series
depends on the script improvements one.
changelog
-
v1 - v2
- A number of small cleanups and
Functions register_ioport_read() and register_ioport_write() are almost
identical, the only difference is that they write to different arrays.
Introduce register_ioport() to handle this difference and change both
functions to use it instead of duplicating code.
Signed-off-by: Luiz Capitulino
e1000.0: model=e1000,macaddr=52:54:00:12:34:56
Devices not on any VLAN:
(QEMU)
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
QMP/qmp-shell | 75 -
1 files changed, 74 insertions(+), 1 deletions(-)
diff --git a/QMP/qmp
This command allows QMP clients to execute HMP commands.
Please, check the documentation added to the qmp-commands.hx file
for additional details about the interface and its limitations.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 39
to be used by the monitor's HMP passthrough via QMP
feature, which needs to run monitor handlers without a backing
device.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
qemu-char.c | 66 +++
qemu-char.h |6 +
2 files
Functions register_ioport_read() and register_ioport_write() are almost
identical, the only difference is that they write to different arrays.
Introduce register_ioport_rw() to handle this difference and change both
functions to use it instead of duplicating code.
Signed-off-by: Luiz Capitulino
On Thu, 11 Nov 2010 16:30:26 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
This driver handles in-memory chardev operations. That's, all writes
to this driver are stored in an internal buffer and it doesn't talk
to the external world
On Thu, 11 Nov 2010 18:22:13 +0200
Avi Kivity a...@redhat.com wrote:
On 10/29/2010 04:28 PM, Luiz Capitulino wrote:
Simple example:
- { execute: hmp_passthrough, arguments: { command-line: print
/i 10+25 } }
- { return: 35\r\n }
Why are the names so cryptic?
- { execute
On Thu, 11 Nov 2010 16:39:52 +
Daniel P. Berrange berra...@redhat.com wrote:
On Thu, Nov 11, 2010 at 10:30:47AM -0600, Anthony Liguori wrote:
On 11/11/2010 09:55 AM, Daniel P. Berrange wrote:
On Thu, Nov 11, 2010 at 04:47:41PM +0100, Markus Armbruster wrote:
3. Query Commands
On Thu, 11 Nov 2010 16:47:41 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 10 Nov 2010 14:20:12 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
[...]
diff --git a/qmp
On Thu, 11 Nov 2010 16:47:52 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
This command allows QMP clients to execute HMP commands.
Please, check the documentation added to the qmp-commands.hx file
for additional details about
On Thu, 11 Nov 2010 17:32:06 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Thu, 11 Nov 2010 16:30:26 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
This driver handles in-memory
Simple example:
- { execute: human-monitor-command, arguments: { command-line: print
/i 10+25 } }
- { return: 35\r\n }
Please, check individual patches for details. Also note that this series
depends on the script improvements one.
Also, Markus suggestion of having an assert() in
This command allows QMP clients to execute HMP commands.
Please, check the documentation added to the qmp-commands.hx file
for additional details about the interface and its limitations.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 38
e1000.0: model=e1000,macaddr=52:54:00:12:34:56
Devices not on any VLAN:
(QEMU)
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
QMP/qmp-shell | 75 -
1 files changed, 74 insertions(+), 1 deletions(-)
diff --git a/QMP/qmp
On Fri, 12 Nov 2010 11:16:54 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Thu, 11 Nov 2010 17:32:06 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Thu, 11 Nov 2010 16:30:26
On Fri, 12 Nov 2010 11:21:57 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
This driver handles in-memory chardev operations. That's, all writes
to this driver are stored in an internal buffer and it doesn't talk
to the external world
On Fri, 12 Nov 2010 15:16:33 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Fri, 12 Nov 2010 11:21:57 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
[...]
+QString
Commit b152aa84d52882bb1846485a89baf13aa07c86bc broke the unit-tests
build, fix it.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
Makefile | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 02698e9..719aca9 100644
On Fri, 12 Nov 2010 16:04:39 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Fri, 12 Nov 2010 15:16:33 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Fri, 12 Nov 2010 11:21:57
On Thu, 11 Nov 2010 13:49:32 +0100
Gerd Hoffmann kra...@redhat.com wrote:
Hi,
Looking for comments especially from Luiz and Daniel (aka qmp and
libvirt masters) ...
This patch adds support for connection events to spice. The events are
quite simliar to the vnc events. Unlike vnc
On Fri, 12 Nov 2010 16:54:14 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Fri, 12 Nov 2010 11:16:54 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Thu, 11 Nov 2010 17:32:06
On Fri, 12 Nov 2010 17:06:16 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Fri, 12 Nov 2010 16:04:39 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Fri, 12 Nov 2010 15:16:33
to be used by the monitor's HMP passthrough via QMP
feature, which needs to run monitor handlers without a backing
device.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
qemu-char.c | 64 +++
qemu-char.h |7 ++
2 files
Simple example:
- { execute: human-monitor-command, arguments: { command-line: print
/i 10+25 } }
- { return: 35\r\n }
Please, check individual patches for details. Also note that this series
depends on the script improvements one.
Also, Markus suggestion of having an assert() in
e1000.0: model=e1000,macaddr=52:54:00:12:34:56
Devices not on any VLAN:
(QEMU)
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
QMP/qmp-shell | 79 -
1 files changed, 78 insertions(+), 1 deletions(-)
diff --git a/QMP/qmp
This command allows QMP clients to execute HMP commands.
Please, check the documentation added to the qmp-commands.hx file
for additional details about the interface and its limitations.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 38
On Wed, 17 Nov 2010 11:27:31 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
Simple example:
- { execute: human-monitor-command, arguments: { command-line:
print /i 10+25 } }
- { return: 35\r\n }
Please, check individual patches
This command allows QMP clients to execute HMP commands.
Please, check the documentation added to the qmp-commands.hx file
for additional details about the interface and its limitations.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 38
to 10 commits, it's really not worth it for a simple
demo class.
Highlights:
o TCP sockets support
o QMP events support
o Add documentation
o Fix a number of unhandled errors
o Simplify methods that send commands to the Monitor
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
QMP
-by: Luiz Capitulino lcapitul...@redhat.com
---
QMP/qmp-shell | 179 +---
1 files changed, 144 insertions(+), 35 deletions(-)
diff --git a/QMP/qmp-shell b/QMP/qmp-shell
index a5b72d1..1fb7e76 100755
--- a/QMP/qmp-shell
+++ b/QMP/qmp-shell
@@ -1,8
It's broken and not really useful, let's just drop it.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
QMP/README |5 +
QMP/vm-info | 33 -
2 files changed, 1 insertions(+), 37 deletions(-)
delete mode 100755 QMP/vm-info
diff --git a/QMP
to be used by the monitor's HMP passthrough via QMP
feature, which needs to run monitor handlers without a backing
device.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
qemu-char.c | 64 +++
qemu-char.h |7 ++
2 files
e1000.0: model=e1000,macaddr=52:54:00:12:34:56
Devices not on any VLAN:
(QEMU)
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
QMP/qmp-shell | 79 -
1 files changed, 78 insertions(+), 1 deletions(-)
diff --git a/QMP/qmp
On Fri, 12 Nov 2010 18:38:57 +0100
Kevin Wolf kw...@redhat.com wrote:
Am 12.11.2010 18:07, schrieb Ryan Harper:
details, details, v8
This patch series decouples the detachment of a block device from the
removal of the backing pci-device. Removal of a hotplugged pci device
requires
On Tue, 16 Nov 2010 15:01:12 +0100
Kevin Wolf kw...@redhat.com wrote:
Am 16.11.2010 14:51, schrieb Luiz Capitulino:
On Fri, 12 Nov 2010 18:38:57 +0100
Kevin Wolf kw...@redhat.com wrote:
Am 12.11.2010 18:07, schrieb Ryan Harper:
details, details, v8
This patch series decouples
On Tue, 16 Nov 2010 15:16:20 +0200
Michael S. Tsirkin m...@redhat.com wrote:
Here are some fixes I collected in my tree.
Please merge.
The following changes since commit 5fc9cfedfa09199e10b5f9b67dcd286bfeae4f7a:
Fold send_all() wrapper unix_write() into one function (2010-11-03 12:48:09
On Fri, 19 Nov 2010 19:50:10 -0600
Anthony Liguori anth...@codemonkey.ws wrote:
On 11/11/2010 08:03 AM, Luiz Capitulino wrote:
Functions register_ioport_read() and register_ioport_write() are almost
identical, the only difference is that they write to different arrays.
Introduce
On Mon, 22 Nov 2010 17:00:41 -0600
Anthony Liguori anth...@codemonkey.ws wrote:
On 11/22/2010 03:45 PM, Chris Wright wrote:
* Juan Quintela (quint...@redhat.com) wrote:
Please send in any agenda items you are interested in covering.
usb-ccid
- vcpu hard limits
-
On Tue, 23 Nov 2010 13:41:26 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
The args_type of migrate_set_speed in qmp-commands.hx is wrong.
When we set migrate speed by json, qemu will be core dumped.
Signed-off-by: Wen Congyang
Nice catch.
Was caused by 07de3e60b05 and hence affects
On Tue, 23 Nov 2010 10:43:48 -0200
Luiz Capitulino lcapitul...@redhat.com wrote:
On Tue, 23 Nov 2010 13:41:26 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
The args_type of migrate_set_speed in qmp-commands.hx is wrong.
When we set migrate speed by json, qemu will be core dumped
Please, check individual patches for details.
is emitted.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/monitor.c b/monitor.c
index 8cee35d..c4efe58 100644
--- a/monitor.c
+++ b/monitor.c
@@ -4426,10 +4426,8 @@ static void qmp_call_query_cmd
it!
Just drop it.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 74 -
1 files changed, 34 insertions(+), 40 deletions(-)
diff --git a/monitor.c b/monitor.c
index c4efe58..30be273 100644
--- a/monitor.c
+++ b
Use the ternary operator instead of an if (also fixes bad indentation).
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/monitor.c b/monitor.c
index 30be273..f6f2264 100644
--- a/monitor.c
+++ b
On Wed, 24 Nov 2010 09:28:54 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 2010年11月23日 21:31, Luiz Capitulino Write:
On Tue, 23 Nov 2010 10:43:48 -0200
Luiz Capitulino lcapitul...@redhat.com wrote:
On Tue, 23 Nov 2010 13:41:26 +0800
Wen Congyang we...@cn.fujitsu.com wrote
On Thu, 25 Nov 2010 09:06:05 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
The args_type of migrate_set_speed in qmp-commands.hx is wrong.
When we set migrate speed by json, qemu will be core dumped.
This bug was caused by 07de3e60b05 and hence affects master only.
Signed-off-by: Wen
On Thu, 25 Nov 2010 12:42:52 +0100
Gerd Hoffmann kra...@redhat.com wrote:
Hi,
The first thing we have to check with Daniel is whether or not we're
providing the info they would need/expect,
Daniel?
apart from that I have the
following general comments:
1. It's missing
Anthony,
QMP fixes pull request.
The changes (since 2c90fe2b71df2534884bce96d90cbfcc93aeedb8) are available
in the following repository:
git://repo.or.cz/qemu/qmp-unstable.git for-anthony
Luiz Capitulino (3):
QMP: Fix default response regression
QMP: Drop dead code
QMP
Use the ternary operator instead of an if (also fixes bad indentation).
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/monitor.c b/monitor.c
index 1e8b1fc..f1aebc1 100644
--- a/monitor.c
+++ b
it!
Just drop it.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 74 -
1 files changed, 34 insertions(+), 40 deletions(-)
diff --git a/monitor.c b/monitor.c
index 1296c40..1e8b1fc 100644
--- a/monitor.c
+++ b
-by: Luiz Capitulino lcapitul...@redhat.com
---
qmp-commands.hx |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qmp-commands.hx b/qmp-commands.hx
index e5f157f..3486223 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -495,7 +495,7 @@ EQMP
{
.name
is emitted.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/monitor.c b/monitor.c
index ec31eac..1296c40 100644
--- a/monitor.c
+++ b/monitor.c
@@ -4464,10 +4464,8 @@ static void qmp_call_query_cmd
Today, when writing an info command that is used by QMP and HMP, the
programmer has to implement:
1. The handler itself, that's the function that gathers data and
returns it as QObjects
2. A pretty printing function, which is called by the human monitor
to print the returned QObjects in
QMP doesn't use this field, it's only useful in the human monitor.
NOTE: Other unused fields are going to be dropped by future
commits.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 15 ---
1 files changed, 0 insertions(+), 15 deletions(-)
diff --git
The new handler directly calls qmp_query_version() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 12 +++-
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git
Query handlers still carry their human monitor name. This commit
renames all of them to a more QMP-like name.
For example, do_info_version() is renamed to qmp_query_version().
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
balloon.c |4 +-
balloon.h |2 +-
block.c
The new handler directly calls qmp_query_cpus() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 13 ++---
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git
So that next commit can change monitor_print_cpus() to call it.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 78 ++--
1 files changed, 39 insertions(+), 39 deletions(-)
diff --git a/monitor.c b/monitor.c
index
Commit 637503d122eb7656d91a8489e254d9e880be7504 dropped (duplicated)
documentation from code, but it missed the balloon handlers.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
balloon.c | 24
1 files changed, 0 insertions(+), 24 deletions(-)
diff --git
The new handler directly calls qmp_query_chardev() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c |3 +--
qemu-char.c |8 ++--
qemu-char.h |2 +-
3 files changed, 8
The new handler directly calls qmp_query_kvm() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/monitor.c
So that next commit can change do_info_status_print() to use it.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/monitor.c b/monitor.c
index 4286375..731cb35 100644
--- a/monitor.c
+++ b
So that next commit can change do_info_version_print() to call it.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 30 +++---
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/monitor.c b/monitor.c
index 481eab2..6252b3f 100644
The new handler directly calls qmp_query_status() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git
So that next commit can change do_info_name_print() to call it.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/monitor.c b/monitor.c
index 59b3866..89325d8 100644
--- a/monitor.c
+++ b
The new handler directly calls qmp_query_blockstats() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
block.c |6 +-
block.h |2 +-
monitor.c |3 +--
3 files changed, 7
The new handler directly calls qmp_query_pci() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
hw/pci.c |7 ++-
hw/pci.h |2 +-
monitor.c |3 +--
3 files changed, 8 insertions
The new handler directly calls qmp_query_vnc() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
console.h |2 +-
monitor.c |3 +--
ui/vnc.c |9 +++--
3 files changed, 9 insertions
.
This commit takes the first step towards this goal: it introduces
do_info_ballon(), which is a regular info handler, except that it
knows how to directly call an asynchronous QMP handler.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 20 +---
1 files changed
The new handler directly calls qmp_query_mice() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
console.h |2 +-
input.c |9 +++--
monitor.c |3 +--
3 files changed, 9 insertions
The new handler directly calls qmp_query_uuid() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/monitor.c
The new handler directly calls qmp_query_name() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git
When no migration has been performed (ie. empty MigrationState),
qmp_query_migrate() returns nothing.
Let's do what other query handlers do: return an empty json-object.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
migration.c |5 +
1 files changed, 5 insertions(+), 0
So that next commit can change do_info_uuid_print() to call it.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/monitor.c b/monitor.c
index 2d1f183..e9b07f3 100644
--- a/monitor.c
+++ b
Last commits moved QMP calling code to the info handlers themselves,
now do_info() does nothing with QMP anymore, just drop all QMP handling
code from it.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 42 ++
1 files changed, 6
The new handler directly calls qmp_query_block() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
block.c |6 +-
block.h |2 +-
monitor.c |3 +--
3 files changed, 7 insertions
The new handler directly calls qmp_query_migrate() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
migration.c |8 ++--
migration.h |2 +-
monitor.c |3 +--
3 files changed, 8
So that next commit can change do_info_kvm_print() to call it.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
monitor.c | 20 ++--
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/monitor.c b/monitor.c
index 1fbe78b..e8f0562 100644
--- a/monitor.c
On Tue, 7 Dec 2010 10:28:25 -0200
Miguel Di Ciurcio Filho miguel.fi...@gmail.com wrote:
On Mon, Dec 6, 2010 at 4:23 PM, Luiz Capitulino lcapitul...@redhat.com
wrote:
Query handlers still carry their human monitor name. This commit
renames all of them to a more QMP-like name
-off-by: Ryan Harper ry...@us.ibm.com
Fixes my test case:
Tested-by: Luiz Capitulino lcapitul...@redhat.com
Currently, x86_64-softmmu qemu segfaults when trying to use 4095M memsize.
This patch adds a simple check and error message (much like the 2047 limit on
32-bit hosts) on ram_size in the control path after we determine we're
not using kvm
Upstream qemu-kvm is affected if using the -no-kvm option;
On Wed, 08 Dec 2010 12:23:12 -0600
Anthony Liguori aligu...@linux.vnet.ibm.com wrote:
On 12/08/2010 12:01 PM, Luiz Capitulino wrote:
Currently, x86_64-softmmu qemu segfaults when trying to use 4095M memsize.
This patch adds a simple check and error message (much like the 2047 limit
On Thu, 09 Dec 2010 14:59:00 +0800
Lai Jiangshan la...@cn.fujitsu.com wrote:
Convert do_inject_nmi() to QObject, we need to use it(via libvirt).
Patches 0/6 and 1/6 are missing.
Also, I see that you're converting two unrelated commands in the same
series. Please, split into two series.
It
On Thu, 09 Dec 2010 14:59:40 +0800
Lai Jiangshan la...@cn.fujitsu.com wrote:
Convert do_sendkey() to QObject,QError, we need to use it.(via libvirt)
It is a trivial conversion, carefully converted the error reports.
Trivial conversion doesn't seem to lead to a good interface for qmp,
On Fri, 10 Dec 2010 14:36:01 +0800
Lai Jiangshan la...@cn.fujitsu.com wrote:
Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com
As Markus said, we report this as an invalid parameter in do_cpu(), we can do
the same for inject-nmi.
---
diff --git a/qerror.c b/qerror.c
index
On Fri, 10 Dec 2010 14:36:08 +0800
Lai Jiangshan la...@cn.fujitsu.com wrote:
+SQMP
+inject_nmi
+--
+
+Inject an NMI on the given CPU (x86 only).
+
+Arguments:
+
+- cpu_index: the index of the CPU to be injected NMI (json-int)
+
+Example:
+
+- { execute: inject_nmi, arguments:
On Fri, 10 Dec 2010 16:20:34 +0100
Markus Armbruster arm...@redhat.com wrote:
[Note cc: Dan, Avi]
Luiz Capitulino lcapitul...@redhat.com writes:
On Tue, 23 Nov 2010 10:43:48 -0200
Luiz Capitulino lcapitul...@redhat.com wrote:
On Tue, 23 Nov 2010 13:41:26 +0800
Wen Congyang we
On Wed, 15 Dec 2010 17:49:27 +0800
Lai Jiangshan la...@cn.fujitsu.com wrote:
Convert do_inject_nmi() to QObject, QError, we need to use it(via libvirt).
changed from v1
Add document.
Add error handling when the cpu index is invalid.
changed from v2
use QERR_INVALID_PARAMETER_VALUE as
On Wed, 15 Dec 2010 11:49:23 +0100
Markus Armbruster arm...@redhat.com wrote:
Lai Jiangshan la...@cn.fujitsu.com writes:
Convert do_inject_nmi() to QObject, QError, we need to use it(via libvirt).
changed from v1
Add document.
Add error handling when the cpu index is invalid.
On Wed, 15 Dec 2010 19:18:32 +0200
Avi Kivity a...@redhat.com wrote:
On 12/15/2010 07:09 PM, Luiz Capitulino wrote:
On Wed, 15 Dec 2010 17:49:27 +0800
Lai Jiangshanla...@cn.fujitsu.com wrote:
Convert do_inject_nmi() to QObject, QError, we need to use it(via
libvirt
On Wed, 15 Dec 2010 17:57:25 +0100
Jes Sorensen jes.soren...@redhat.com wrote:
On 12/15/10 17:55, Kevin Wolf wrote:
+int do_snapshot_blkdev(Monitor *mon, const QDict *qdict, QObject
**ret_data)
+{
+const char *device = qdict_get_str(qdict, device);
+const char *filename =
2010/10/01 from Luiz Capitulino
http://www.mail-archive.com/qemu-devel@nongnu.org/msg43024.html
According to the related thread, the above patch avoids hanging user
monitor, and people hope the memory stats feature will be able in the
future. So I'd like to know the status
On Wed, 15 Dec 2010 18:39:07 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 15 Dec 2010 11:49:23 +0100
Markus Armbruster arm...@redhat.com wrote:
Lai Jiangshan la...@cn.fujitsu.com writes:
Convert do_inject_nmi() to QObject
On Wed, 15 Dec 2010 18:45:09 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 15 Dec 2010 19:18:32 +0200
Avi Kivity a...@redhat.com wrote:
On 12/15/2010 07:09 PM, Luiz Capitulino wrote:
On Wed, 15 Dec 2010 17:49:27 +0800
Lai
.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
qmp-commands.hx |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qmp-commands.hx b/qmp-commands.hx
index 3486223..164ecbc 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -510,7 +510,7 @@ Set maximum speed
On Thu, 16 Dec 2010 11:03:38 +0200
Avi Kivity a...@redhat.com wrote:
On 12/15/2010 08:00 PM, Luiz Capitulino wrote:
Looks like a GUI feature to me,
Really? Can't see how you can build NMI to all CPUs from NMI this
CPU. Or am I misunderstanding you?
I guess so. Avi
On Thu, 16 Dec 2010 12:51:14 +0200
Avi Kivity a...@redhat.com wrote:
On 12/16/2010 12:48 PM, Luiz Capitulino wrote:
Ok, I didn't know that, but I had another idea: the command could accept
either a single cpu index or a list:
{ execute: inject-nmi, arguments: { cpus: 2
On Wed, 15 Dec 2010 16:58:03 -0600
Adam Litke a...@us.ibm.com wrote:
On Wed, 2010-12-15 at 15:39 -0200, Luiz Capitulino wrote:
On Wed, 15 Dec 2010 16:20:05 +0900
Ken'ichi Ohmichi oomi...@mxs.nes.nec.co.jp wrote:
Hi,
I tried to get the memory stats by using
401 - 500 of 5290 matches
Mail list logo