will add win32-specific command to
support Windows guest later. Since I want to make sure if this
seems like the way we should be headed.
Your comments and suggestions are very welcome!
Lei Li (3):
qga: add support to get host time
qga: add guest-get-time command
qga: add guest-set-time command
Hi guys,
I am working on the time drift issue as background info here.
http://mid.gmane.org/87pq5r5otp@codemonkey.ws
As Anthony proposed, one part of the solutions is that we want
to add a qemu-ga command to resync the guest clock by reading the
wallclock time when the tick overflow the lim
pty -monitor pty
char device compat_monitor0 redirected to /dev/pts/5
char device serial0 redirected to /dev/pts/6
char device serial1 redirected to /dev/pts/7
Referred link: https://bugs.launchpad.net/qemu/+bug/938552
Signed-off-by: Lei Li
---
qemu-char.c |8 +++-
1 files changed, 7 ins
Sorry, s/imporve/improve...
On 12/20/2012 10:49 PM, Lei Li wrote:
When controlling a qemu instance from another program, it's
hard to know which serial port or monitor device is redirected
to which pty. With more than one device using "pty" a lot of
guesswork is involved.
$ .
redirected to /dev/pts/7
Referred link: https://bugs.launchpad.net/qemu/+bug/938552
Reported-by: Craig Ringer
Signed-off-by: Lei Li
---
qemu-char.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 242b799..2b0f5f4 100644
--- a/qemu-c
redirected to /dev/pts/7
Referred link: https://bugs.launchpad.net/qemu/+bug/938552
Reported-by: Craig Ringer
Signed-off-by: Lei Li
---
qemu-char.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 242b799..2b0f5f4 100644
--- a/qemu-c
Signed-off-by: Lei Li
---
hmp-commands.hx | 21 +
hmp.c | 52
hmp.h |1 +
monitor.c | 15 +++
monitor.h |3 +++
5 files changed, 92 insertions(+), 0 deletions
Signed-off-by: Lei Li
---
hmp-commands.hx | 15 +++
hmp.c| 13 +
hmp.h|1 +
qapi-schema.json | 41 +
qemu-char.c | 48
qmp-commands.hx
Signed-off-by: Lei Li
---
hmp-commands.hx | 19 ++
hmp.c| 17
hmp.h|1 +
qapi-schema.json | 25 +++
qemu-char.c | 57 ++
qmp-commands.hx | 34
urrent MemCharDriver
live in parallel, expose a new char backend with circular buffer
CirMemCharDriver suggested by Luiz.
- Other fixs from Eric and Markus.
Changes since v1:
- Exposing the MemCharDriver via command line.
- Support base64 data format suggested by Anthony and Eric.
- Foll
Signed-off-by: Lei Li
---
qemu-char.c | 131 +++
qemu-config.c |3 +
qemu-options.hx | 10
3 files changed, 144 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 242b799..3e45ce6 100644
--- a/qemu
Could you please give more details, like the steps to reproduce this
problems.
Thanks.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1086745
Title:
serial port data THRE comes too early
Status in
macro does. And due to the potential Segmentation risk of
SCSI_BUS, remove this macro.
Signed-off-by: Lei Li
---
hw/scsi.h |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/hw/scsi.h b/hw/scsi.h
index b8f7357..ad063e5 100644
--- a/hw/scsi.h
+++ b/hw/scsi.h
@@ -142,7 +
u_spice_init.
https://bugs.launchpad.net/qemu/+bug/1035042
Reported-by: Alon Bar-Lev
Signed-off-by: Lei Li
---
ui/spice-core.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ui/spice-core.c b/ui/spice-core.c
index 5147365..261c6f2 100644
--- a/ui/spice-core.c
+
Fix the inconsistency between the declaration of the
option 'x509-dh-key-file' to -spice command line and
its parameter parsing.
https://bugs.launchpad.net/qemu/+bug/1035042
Reported-by: Alon Bar-Lev
Signed-off-by: Lei Li
---
ui/spice-core.c |2 +-
1 files changed, 1 insert
On 11/09/2012 01:12 PM, Fam Zheng wrote:
Yes, I can confirm the presence of this bug and this is a valid fix.
May I ask where is this kind of vmdk from? Because regularly we see
extents in identical size.
I guess the regularly extents you see are SPARSE extent in identical size.
This is the FL
Hi Tomoki,
You should use the plain text format to send your patch. Otherwise
people will not be able to apply the patch. :)
On 11/08/2012 08:36 PM, Tomoki Sekiyama wrote:
To use the online disk snapshot for online-backup, application-level
consistency of the snapshot image is required. However
after this patch.
Tested-by: Lei Li
---
qemu-sockets.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/qemu-sockets.c b/qemu-sockets.c
index abcd791..11d3d32 100644
--- a/qemu-sockets.c
+++ b/qemu-sockets.c
@@ -551,8 +551,9 @@ static InetSocketAddress *inet_parse(const
Hi,
I reproduced this problem and have already submit a patch
to fix it:
http://patchwork.ozlabs.org/patch/196116/
** Changed in: qemu
Status: New => Fix Committed
** Changed in: qemu
Assignee: (unassigned) => Lei Li (matrixs-zero)
--
You received this bug notification b
On 11/01/2012 06:05 PM, Stefan Hajnoczi wrote:
On Thu, Nov 01, 2012 at 05:39:55PM +0800, Lei Li wrote:
Fix the problem that can not delete the udp socket.
It's caused by passing "udp" model to net_socket_udp_init,
but we do not have "udp" model in our model list.
Pas
On 11/01/2012 05:42 PM, Stefan Hajnoczi wrote:
On Thu, Nov 1, 2012 at 8:48 AM, Lei Li wrote:
netdev_del assume that remove host network device.
However, when try to remove a non-host network device
by netdev_del, it will cause a segfault.
I recently sent a similar fix which forbids deleting
Fix the problem that can not delete the udp socket.
It's caused by passing "udp" model to net_socket_udp_init,
but we do not have "udp" model in our model list.
Pass the right model "socket" to init function.
https://bugs.launchpad.net/qemu/+bug/1073585?
) netdev_del con.1
Segmentation fault (core dumped)
Signed-off-by: Lei Li
---
net.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/net.c b/net.c
index ae4bc0d..cc52552 100644
--- a/net.c
+++ b/net.c
@@ -827,6 +827,7 @@ exit_err:
void qmp_netdev_del(const char *id
Signed-off-by: Lei Li
---
hmp-commands.hx | 19 ++
hmp.c| 17
hmp.h|1 +
qapi-schema.json | 27 -
qemu-char.c | 57 ++
qmp-commands.hx | 34
Signed-off-by: Lei Li
---
hmp-commands.hx | 15 +++
hmp.c| 13 +
hmp.h|1 +
qapi-schema.json | 41 +
qemu-char.c | 48
qmp-commands.hx
y infrastructure
enhancement.
- Add HMP 'console' command so that can interact with multiple
chardevs via a single monitor socket.
- Make the circular buffer backend and the current MemCharDriver
live in parallel, expose a new char backend with circular buffer
CirMemCha
On 10/29/2012 09:17 PM, Luiz Capitulino wrote:
On Mon, 29 Oct 2012 12:09:38 +0800
Lei Li wrote:
On 10/27/2012 01:39 AM, Luiz Capitulino wrote:
On Fri, 26 Oct 2012 19:21:51 +0800
Lei Li wrote:
Signed-off-by: Lei Li
---
hmp-commands.hx | 19 ++
hmp.c
On 10/29/2012 09:26 PM, Luiz Capitulino wrote:
On Mon, 29 Oct 2012 12:18:03 +0800
Lei Li wrote:
On 10/27/2012 01:43 AM, Luiz Capitulino wrote:
On Fri, 26 Oct 2012 19:21:52 +0800
Lei Li wrote:
Signed-off-by: Lei Li
I still don't understand how this command, in its current for
On 10/29/2012 09:23 PM, Luiz Capitulino wrote:
On Mon, 29 Oct 2012 12:10:24 +0800
Lei Li wrote:
On 10/27/2012 01:17 AM, Luiz Capitulino wrote:
On Fri, 26 Oct 2012 19:21:50 +0800
Lei Li wrote:
Signed-off-by: Lei Li
---
hmp-commands.hx | 17 +
hmp.c
Signed-off-by: Lei Li
---
hmp-commands.hx | 21 +
hmp.c | 51 +++
hmp.h |1 +
monitor.c | 15 +++
monitor.h |3 +++
5 files changed, 91 insertions(+), 0 deletions
Signed-off-by: Lei Li
---
qemu-char.c | 131 +++
qemu-config.c |3 +
qemu-options.hx | 10
3 files changed, 144 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index afe2bfb..11c320f 100644
--- a/qemu
On 10/27/2012 12:47 AM, Luiz Capitulino wrote:
On Fri, 26 Oct 2012 19:21:49 +0800
Lei Li wrote:
Signed-off-by: Lei Li
---
qemu-char.c | 140 +++
qemu-config.c |3 +
qemu-options.hx | 10
3 files changed, 153
On 10/27/2012 01:43 AM, Luiz Capitulino wrote:
On Fri, 26 Oct 2012 19:21:52 +0800
Lei Li wrote:
Signed-off-by: Lei Li
I still don't understand how this command, in its current form, is
different from memchar-write.
One more comment below.
Hi Luiz,
Yes, I have replied to it in
On 10/27/2012 01:17 AM, Luiz Capitulino wrote:
On Fri, 26 Oct 2012 19:21:50 +0800
Lei Li wrote:
Signed-off-by: Lei Li
---
hmp-commands.hx | 17 +
hmp.c| 15 +++
hmp.h|1 +
qapi-schema.json | 47
On 10/27/2012 01:39 AM, Luiz Capitulino wrote:
On Fri, 26 Oct 2012 19:21:51 +0800
Lei Li wrote:
Signed-off-by: Lei Li
---
hmp-commands.hx | 19 ++
hmp.c| 19 ++
hmp.h|1 +
qapi-schema.json | 27
Signed-off-by: Lei Li
---
hmp-commands.hx | 19 ++
hmp.c| 19 ++
hmp.h|1 +
qapi-schema.json | 27 ++
qemu-char.c | 55 ++
qmp-commands.hx | 40
Signed-off-by: Lei Li
---
hmp-commands.hx | 17 +
hmp.c| 15 +++
hmp.h|1 +
qapi-schema.json | 47 +++
qemu-char.c | 44
qmp-commands.hx
Signed-off-by: Lei Li
---
hmp-commands.hx | 25 +
hmp.c | 52
hmp.h |1 +
monitor.c | 15 +++
monitor.h |3 +++
5 files changed, 96 insertions(+), 0 deletions
Signed-off-by: Lei Li
---
qemu-char.c | 140 +++
qemu-config.c |3 +
qemu-options.hx | 10
3 files changed, 153 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index b082bae..c3ec43d 100644
--- a/qemu
cement.
- Add HMP 'console' command so that can interact with multiple
chardevs via a single monitor socket.
- Make the circular buffer backend and the current MemCharDriver
live in parallel, expose a new char backend with circular buffer
CirMemCharDriver suggested by Luiz.
- Other
Please ignore this thread and review the other thread also titled V5.
Sorry for the mis-sending mostly caused by the unconsciousness
at midnight...
On 10/26/2012 03:48 AM, Lei Li wrote:
This patch series attempts to add new char backend CirMemCharDriver with
a circular buffer and expose it to
On 10/26/2012 04:05 AM, Eric Blake wrote:
On 10/25/2012 01:54 PM, Lei Li wrote:
Signed-off-by: Lei Li
---
qemu-char.c | 136 +++
qemu-config.c |3 +
qemu-options.hx | 10
3 files changed, 149 insertions(+), 0 deletions
ar buffer backend and the current MemCharDriver
live in parallel, expose a new char backend with circular buffer
CirMemCharDriver suggested by Luiz.
- Other fixs from Eric and Markus.
Changes since v1:
- Exposing the MemCharDriver via command line.
- Support base64 data format suggested
Signed-off-by: Lei Li
---
hmp-commands.hx | 25 +
hmp.c | 52
hmp.h |1 +
monitor.c | 15 +++
monitor.h |3 +++
5 files changed, 96 insertions(+), 0 deletions
Signed-off-by: Lei Li
---
hmp-commands.hx | 19 ++
hmp.c| 19 ++
hmp.h|1 +
qapi-schema.json | 27 ++
qemu-char.c | 55 ++
qmp-commands.hx | 40
Signed-off-by: Lei Li
---
hmp-commands.hx | 25 +
hmp.c | 52
hmp.h |1 +
monitor.c | 15 +++
monitor.h |3 +++
5 files changed, 96 insertions(+), 0 deletions
Signed-off-by: Lei Li
---
hmp-commands.hx | 17 +
hmp.c| 15 +++
hmp.h|1 +
qapi-schema.json | 47 +++
qemu-char.c | 44
qmp-commands.hx
ar buffer backend and the current MemCharDriver
live in parallel, expose a new char backend with circular buffer
CirMemCharDriver suggested by Luiz.
- Other fixs from Eric and Markus.
Changes since v1:
- Exposing the MemCharDriver via command line.
- Support base64 data format suggested
Signed-off-by: Lei Li
---
qemu-char.c | 136 +++
qemu-config.c |3 +
qemu-options.hx | 10
3 files changed, 149 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index b082bae..45d2a86 100644
--- a/qemu
Signed-off-by: Lei Li
---
hmp-commands.hx | 19 ++
hmp.c| 19 ++
hmp.h|1 +
qapi-schema.json | 27 ++
qemu-char.c | 55 ++
qmp-commands.hx | 40
Signed-off-by: Lei Li
---
hmp-commands.hx | 17 +
hmp.c| 15 +++
hmp.h|1 +
qapi-schema.json | 47 +++
qemu-char.c | 44
qmp-commands.hx
Signed-off-by: Lei Li
---
qemu-char.c | 136 +++
qemu-config.c |3 +
qemu-options.hx | 10
3 files changed, 149 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index b082bae..45d2a86 100644
--- a/qemu
On 10/24/2012 08:55 PM, Luiz Capitulino wrote:
On Wed, 24 Oct 2012 15:17:21 +0800
Lei Li wrote:
On 10/23/2012 02:59 AM, Luiz Capitulino wrote:
On Mon, 22 Oct 2012 00:48:01 +0800
Lei Li wrote:
Signed-off-by: Lei Li
---
hmp-commands.hx | 23 +++
hmp.c
On 10/23/2012 02:59 AM, Luiz Capitulino wrote:
On Mon, 22 Oct 2012 00:48:01 +0800
Lei Li wrote:
Signed-off-by: Lei Li
---
hmp-commands.hx | 23 +++
hmp.c | 53 +
hmp.h |1 +
monitor.c
On 10/23/2012 02:14 AM, Luiz Capitulino wrote:
On Mon, 22 Oct 2012 00:47:57 +0800
Lei Li wrote:
Signed-off-by: Lei Li
This patch should be squashed in the next one. More comments below.
---
qemu-char.c | 72 +++
1 files changed
On 10/23/2012 02:37 AM, Luiz Capitulino wrote:
On Mon, 22 Oct 2012 00:47:59 +0800
Lei Li wrote:
Signed-off-by: Lei Li
---
hmp-commands.hx | 22 +
hmp.c| 19 +++
hmp.h|1 +
qapi-schema.json | 69
On 10/22/2012 10:08 PM, Eric Blake wrote:
On 10/21/2012 10:47 AM, Lei Li wrote:
Signed-off-by: Lei Li
---
qemu-char.c | 72 +++
1 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index b082bae
Signed-off-by: Lei Li
---
hmp-commands.hx | 23 +++
hmp.c | 53 +
hmp.h |1 +
monitor.c | 15 +++
monitor.h |3 +++
5 files changed, 95 insertions(+), 0 deletions
Signed-off-by: Lei Li
---
hmp-commands.hx | 22 +
hmp.c| 19 +++
hmp.h|1 +
qapi-schema.json | 69 ++
qemu-char.c | 46
qmp-commands.hx
Signed-off-by: Lei Li
---
hmp-commands.hx | 25 +
hmp.c| 17 +
hmp.h|1 +
qapi-schema.json | 27 +++
qemu-char.c | 52
qmp-commands.hx
ommand so that can interact with multiple
chardevs via a single monitor socket.
- Make the circular buffer backend and the current MemCharDriver
live in parallel, expose a new char backend with circular buffer
CirMemCharDriver suggested by Luiz.
- Other fixs from Eric and Markus.
Chan
Signed-off-by: Lei Li
---
qemu-char.c | 36
qemu-config.c |3 +++
qemu-options.hx | 10 ++
3 files changed, 49 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index b174da1..381bf60 100644
--- a/qemu-char.c
+++ b
Signed-off-by: Lei Li
---
qemu-char.c | 72 +++
1 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index b082bae..b174da1 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -2588,6 +2588,78 @@ size_t
On 10/15/2012 04:06 PM, Gerd Hoffmann wrote:
This patch adds chardev_add and chardev_del monitor commands.
They work simliar to the netdev_{add,del} commands. The hmp version of
chardev_add accepts like the -chardev command line option does. The qmp
version expects the arguments being passed a
On 10/12/2012 08:39 PM, Gerd Hoffmann wrote:
This patch adds chardev_add and chardev_del monitor commands.
chardev_del is pretty straight forward, it just takes an id argument and
zaps the chardev specified.
chardev_add is more tricky as there are tons of arguments for the
different backends.
On 09/20/2012 02:05 AM, Luiz Capitulino wrote:
On Wed, 12 Sep 2012 19:57:24 +0800
Lei Li wrote:
Signed-off-by: Lei Li
---
hmp-commands.hx | 23 ++
hmp.c| 19 +++
hmp.h|1 +
qapi-schema.json | 69
Signed-off-by: Lei Li
---
hmp-commands.hx | 23 ++
hmp.c| 19 +++
hmp.h|1 +
qapi-schema.json | 69 ++
qemu-char.c | 48 +
qmp-commands.hx
Signed-off-by: Lei Li
---
qemu-char.c | 31 +++
qemu-config.c |3 +++
qemu-options.hx | 10 ++
3 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 0470085..6e84acc 100644
--- a/qemu-char.c
+++ b/qemu
Signed-off-by: Lei Li
---
hmp.c | 42 ++
monitor.c | 18 ++
monitor.h |2 ++
3 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/hmp.c b/hmp.c
index 4397981..a016a5c 100644
--- a/hmp.c
+++ b/hmp.c
@@ -1205,3 +1205,45
Signed-off-by: Lei Li
---
hmp-commands.hx | 25 +
hmp.c| 18 ++
hmp.h|1 +
qapi-schema.json | 27 +++
qemu-char.c | 48
qmp-commands.hx
live in parallel, expose a new char backend with circular buffer
CirMemCharDriver suggested by Luiz.
- Other fixs from Eric and Markus.
Changes since v1:
- Exposing the MemCharDriver via command line.
- Support base64 data format suggested by Anthony and Eric.
- F
Signed-off-by: Lei Li
---
qemu-char.c | 84 +++
1 files changed, 84 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 767da93..0470085 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -2591,6 +2591,90 @@ size_t
On 08/31/2012 02:51 AM, Luiz Capitulino wrote:
On Thu, 23 Aug 2012 13:14:22 +0800
Lei Li wrote:
Signed-off-by: Lei Li
---
monitor.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/monitor.c b/monitor.c
index 480f583..ab4650b 100644
--- a/monitor.c
+++ b
On 08/23/2012 01:46 PM, Eric Blake wrote:
On 08/22/2012 11:14 PM, Lei Li wrote:
Signed-off-by: Lei Li
Again, subject line should use '-' not '_' for QMP.
---
hmp-commands.hx | 16
hmp.c| 15 +++
hmp.h|1
On 08/23/2012 01:42 PM, Eric Blake wrote:
On 08/22/2012 11:14 PM, Lei Li wrote:
Signed-off-by: Lei Li
Subject line uses '_', but the QMP command uses '-' [1]
---
hmp-commands.hx | 16
hmp.c| 15 +++
hmp.h
Signed-off-by: Lei Li
---
hmp-commands.hx | 16
hmp.c| 15 +++
hmp.h|1 +
qapi-schema.json | 28
qemu-char.c | 36
qmp-commands.hx | 33
Signed-off-by: Lei Li
---
qemu-char.c | 24
qemu-config.c |3 +++
qemu-options.hx | 10 ++
3 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index ff6651b..36f4ecc 100644
--- a/qemu-char.c
+++ b/qemu-char.c
Signed-off-by: Lei Li
---
hmp-commands.hx | 16
hmp.c| 15 +++
hmp.h|1 +
qapi-schema.json | 23 +++
qemu-char.c | 32
qmp-commands.hx | 31
Signed-off-by: Lei Li
---
monitor.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/monitor.c b/monitor.c
index 480f583..ab4650b 100644
--- a/monitor.c
+++ b/monitor.c
@@ -642,7 +642,13 @@ char *qmp_human_monitor_command(const char *command_line,
bool
Signed-off-by: Lei Li
---
qapi-schema-guest.json |2 +-
qapi-schema.json |4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/qapi-schema-guest.json b/qapi-schema-guest.json
index d955cf1..ed0eb69 100644
--- a/qapi-schema-guest.json
+++ b/qapi-schema-guest.json
Signed-off-by: Lei Li
---
qemu-char.c | 96 +++---
qemu-char.h |2 +-
2 files changed, 78 insertions(+), 20 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 398baf1..b21b93a 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -2528,38
the new rule for the name of qmp command from Eric.
For the comments of MemCharDriver improvment, which I am working on and
will send out within v3 with the rest feature implemented in few days.
Lei Li (6):
qemu-char: Convert MemCharDriver to circular buffer
monitor: Adjust qmp_human_mo
On 08/02/2012 05:30 AM, Anthony Liguori wrote:
Lei Li writes:
Signed-off-by: Lei Li
---
qemu-char.c | 96 +++---
qemu-char.h |2 +-
2 files changed, 78 insertions(+), 20 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index
Ping?
On 07/20/2012 07:09 AM, Anthony Liguori wrote:
Lei Li writes:
tcp_chr_write() did not deal with writing to an unconnected
connection and return the original length of the data, it's
not right and would cause false writing. So (re-)connect it
and return 0 for this situation.
Signe
Signed-off-by: Lei Li
---
monitor.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/monitor.c b/monitor.c
index 49dccfe..c1a4d81 100644
--- a/monitor.c
+++ b/monitor.c
@@ -645,7 +645,13 @@ char *qmp_human_monitor_command(const char *command_line,
bool
Signed-off-by: Lei Li
---
qapi-schema.json | 20
qemu-char.c | 19 +++
qmp-commands.hx | 29 +
3 files changed, 68 insertions(+), 0 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index bc55ed2..3c8530f
Signed-off-by: Lei Li
---
qemu-char.c | 96 +++---
qemu-char.h |2 +-
2 files changed, 78 insertions(+), 20 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index c2aaaee..087c92d 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -2517,38
Signed-off-by: Lei Li
---
qapi-schema.json | 20
qemu-char.c | 16
qmp-commands.hx | 28
3 files changed, 64 insertions(+), 0 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 3c8530f..23edda9
emchr,max-capacity=640k,id=foo -serial chardev:foo
Note:
This series is just a incomplete sketch and not completely tested which
I am still struggling with, but I want to get this out ealier to have
your suggestion. Please comment and let me know if this seems like the
direction we should be headed,
tcp_chr_write() did not deal with writing to an unconnected
connection and return the original length of the data, it's
not right and would cause false writing. So (re-)connect it
and return 0 for this situation.
Signed-off-by: Lei Li
---
qemu-char.c |7 +--
1 files chang
tcp_chr_write() did not deal with writing to an unconnected
connection, (re-)connect it for this situation.
Signed-off-by: Lei Li
---
qemu-char.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index c2aaaee..25eaeeb 100644
--- a/qemu
On 09/22/2011 09:58 AM, 陳韋任 wrote:
/* list of TBs jumping to this one. This is a circular list using
the two least significant bits of the pointers to tell what is
the next pointer: 0 = jmp_next[0], 1 = jmp_next[1], 2 =
jmp_first */
struct TranslationBlock
On 09/22/2011 07:05 AM, Xin Tong wrote:
I am new to QEMU, can anyone please tell me where the TB chaining code is in
QEMU ?
Actually, TB chaining was implemented via TB list. You might want to look at
Exec.c
In struct TranslationBlock, the following data are used to directly call
another TB
On 09/20/2011 10:11 AM, Xin Tong wrote:
One of the research projects I am doing involves disassembling machine
instructions (such as PTX ) to TCG IR and use the QEMU backends to
generate
PTX, do you mean Parallel Thread Execution, a pseudo-assembly language
for NVIDIA GPUs?
code I need. Basic
401 - 494 of 494 matches
Mail list logo