On Tue, Feb 22, 2011 at 11:49 PM, dankoe <723...@bugs.launchpad.net> wrote:
> Public bug reported:
>
> hi guys,
> I try to install windows xp via qemu. I can only boot from usb and somehow it
> is my problem.
> I run a Winxp/xubuntu10.04 Dualboot-system with some virtual drives in
> windows ( til
On 02/22/2011 09:35 PM, Anthony Liguori wrote:
So why reinvent this instead of just using glib for thread support?
Because Win32 thread support is one patch out of 21.
Paolo
2011/2/23 陳韋任 :
> Hi, all
>
> Is it possible to build qemu whose target is i386-linux-user on
> a PS3 machine (Gentoo Linux/PowerPC).
>
> I am trying to do so, but it failed at compiling i386-linux-user/translate.o.
>
> Here is the system information:
> --
Hi, all
Is it possible to build qemu whose target is i386-linux-user on
a PS3 machine (Gentoo Linux/PowerPC).
I am trying to do so, but it failed at compiling i386-linux-user/translate.o.
Here is the system information:
--
Any comments on this problem?
Thnx.
Ciao,
Gerhard
--
http://www.wiesinger.com/
On Fri, 18 Feb 2011, Gerhard Wiesinger wrote:
Hello,
Good news: Seems to be that 2 of 3 issues have been fixed with QEMU: :-)
Summary of previous discussion:
http://www.mail-archive.com/qemu-devel@nongnu.org/msg
On Mon, 21 Feb 2011, Arnd Bergmann wrote:
On Monday 21 February 2011, Jan Kiszka wrote:
Now I think I tried all useful possible combinations:
1.) macvtap0 and macvlan0 in bridged and non bridge mode
2.) macvlan0 based on eth0 or based on macvtap0
3.) Using and ip address on macvlan0 or not (tri
2011/2/23 ya su :
> Yoshi:
>
> thanks for your explaining.
> if you introduce a new stage as 3, I think stage 1 also need to change as
> it will mark all pages dirty.
> looking forward to your new patch update.
Unless there're strong comments from others, I won't put it in
this series tho
On (Tue) 22 Feb 2011 [16:40:55], Michael Roth wrote:
> If something in the guest is attempting to read/write from the
> virtio-serial device, and nothing is connected to virtio-serial's
> host character device (say, a socket)
>
> 1. writes will block until something connect()s, at which point the
hi, All,
I am wondering how to determine machine's state in user-level
or kernel level from Operating System perspective.
what's meaning of CPUState.exception_is_int? Thanks.
Jianhui
> In any case, the next step is to get down to specifics. Here is the
> page with the current QCOW3 roadmap:
>
> http://wiki.qemu.org/Qcow3_Roadmap
>
> Please raise concrete requirements or features so they can be
> discussed and captured.
Now it turns into a more productive discussion, but it s
On Tue, Feb 22, 2011 at 06:36:20PM +0100, William Dauchy wrote:
> `qdev_free` when unplug a pci device
> It resolves a bug when detaching/attaching a network device
>
> # virsh detach-interface dom0 network --mac 52:54:00:f6:84:ba
> Interface detached successfully
>
> # virsh attach-interfac
It is only used inside migration.c, and fields on that struct are
accessed all around the place on that file.
Signed-off-by: Juan Quintela
---
migration.c | 16 +---
migration.h |1 -
2 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/migration.c b/migration.c
inde
On 11/16/2010 02:55 PM, Anthony Liguori wrote:
>>
>> If you don't like the hack, you can just remove the 3 lines above and use the
>> rest of the patch. I will just have to remember to manually patch mine every
>> time I upgrade.
>>
>> Your thoughts?
>>
>
> Yeah, that bit is a bit too gnarly f
Signed-off-by: Juan Quintela
---
migration.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/migration.c b/migration.c
index 397a0b9..55f58c8 100644
--- a/migration.c
+++ b/migration.c
@@ -138,7 +138,7 @@ int do_migrate_cancel(Monitor *mon, const QDict *qdict,
QObject *
The problem is solved. Some of our configurations have some errors.
** Changed in: qemu
Status: New => Invalid
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/722425
Title:
guest hangs when s
This will allows us to hide the status values.
Signed-off-by: Juan Quintela
---
migration.c |4 ++--
migration.h |2 +-
ui/spice-core.c |4 +---
3 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/migration.c b/migration.c
index 312a029..383ebaf 100644
--- a/migrat
This cleans up a lot the code as we don't have to check anymore if
the variable is NULL or not.
Signed-off-by: Juan Quintela
---
migration.c | 119 --
1 files changed, 49 insertions(+), 70 deletions(-)
diff --git a/migration.c b/migration
Signed-off-by: Juan Quintela
---
migration.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/migration.c b/migration.c
index accc6e4..4014330 100644
--- a/migration.c
+++ b/migration.c
@@ -136,9 +136,8 @@ void do_info_migrate(Monitor *mon, QObject **ret_data)
QDic
This means we can remove the two forward declarations.
Signed-off-by: Juan Quintela
---
migration.c | 188 +--
1 files changed, 92 insertions(+), 96 deletions(-)
diff --git a/migration.c b/migration.c
index 92bff01..d7dfe1e 100644
--- a/m
It is used only in one place
Signed-off-by: Juan Quintela
---
migration.c |9 -
migration.h |1 -
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/migration.c b/migration.c
index 2b873fa..92bff01 100644
--- a/migration.c
+++ b/migration.c
@@ -131,12 +131,12 @@ free_
Now that current_migration is static, there is no reason for max_throotle
variable.
Signed-off-by: Juan Quintela
---
migration.c | 16 +++-
1 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/migration.c b/migration.c
index 7b1e679..312a029 100644
--- a/migration.c
+++ b
This function is a bit different of the others that change the state,
in the sense that if migrate_fd_cleanup() returns an error, it set the
status to error, not completed.
Signed-off-by: Juan Quintela
---
migration.c | 18 --
1 files changed, 12 insertions(+), 6 deletions(-)
We called it from a single place, and always with state !=
MIG_STATE_ACTIVE. Just remove the whole callback. For users of the
notifier, notice that this is exactly the case where they don't care,
we are just freeing the state from previous failed migration (it can't
be a sucessful one, otherwise
Signed-off-by: Juan Quintela
---
migration.c |6 ++
migration.h |6 --
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/migration.c b/migration.c
index 383ebaf..90fc2a0 100644
--- a/migration.c
+++ b/migration.c
@@ -31,6 +31,12 @@
do { } while (0)
#endif
+#de
Signed-off-by: Juan Quintela
---
migration.c | 20 +---
1 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/migration.c b/migration.c
index f015e02..641df9f 100644
--- a/migration.c
+++ b/migration.c
@@ -361,28 +361,26 @@ static void migrate_fd_put_ready(void *opaqu
We are setting a pointer to a local variable in the previous line, just use
the global variable directly. We remove the ->file test because it is already
done inside qemu_file_set_rate_limit() function.
Signed-off-by: Juan Quintela
---
migration.c |6 ++
1 files changed, 2 insertions(+)
We are also calling to migrate_fd_cleanup(), but notice that it is the
right thing to do.
Signed-off-by: Juan Quintela
---
migration.c |6 +-
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/migration.c b/migration.c
index ab98664..3983257 100644
--- a/migration.c
+++ b/mig
I have to move two functions postions to avoid forward declarations
Signed-off-by: Juan Quintela
---
migration.c | 72 +-
migration.h | 12 -
2 files changed, 36 insertions(+), 48 deletions(-)
diff --git a/migration.c b/migrati
Signed-off-by: Juan Quintela
---
migration-exec.c | 16 +---
migration-fd.c | 16 +---
migration-tcp.c | 15 +--
migration-unix.c | 15 +--
migration.c | 29 +
migration.h | 11 +++
6 file
Once there, remove all parameters that don't need to be passed to
*start_outgoing_migration() functions
Signed-off-by: Juan Quintela
---
migration-exec.c | 19 +--
migration-fd.c | 22 ++
migration-tcp.c | 20 ++--
migration-unix.c |
Use MIG_STATE_ACTIVE only when migration has really started
Signed-off-by: Juan Quintela
---
migration.c |6 +-
migration.h |3 ++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/migration.c b/migration.c
index 55f58c8..f015e02 100644
--- a/migration.c
+++ b/migration
Signed-off-by: Juan Quintela
---
migration-exec.c | 10 +-
migration-fd.c | 10 +-
migration-tcp.c | 12 ++--
migration-unix.c | 12 ++--
migration.c | 34 +-
migration.h | 38 +++-
Signed-off-by: Juan Quintela
---
migration-exec.c | 10 +-
migration-fd.c | 10 +-
migration-tcp.c | 10 +-
migration-unix.c | 10 +-
migration.c | 11 +--
migration.h | 23 +--
6 files changed, 30 insertions(+),
Signed-off-by: Juan Quintela
---
migration-exec.c |4 ++--
migration-fd.c |4 ++--
migration-tcp.c |4 ++--
migration-unix.c |4 ++--
migration.c |4 ++--
migration.h |8
6 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/migration-exec.
Signed-off-by: Juan Quintela
---
migration.c | 31 ++-
migration.h | 16
2 files changed, 22 insertions(+), 25 deletions(-)
diff --git a/migration.c b/migration.c
index f9aaadc..3a371a3 100644
--- a/migration.c
+++ b/migration.c
@@ -34,7 +34,7 @@
This series:
- Fold MigrationState into FdMigrationState (and then rename)
- Factorize migration statec creation in a single place
- Make use of MIG_STATE_*, setup through helpers and make them local
- remove relase & cancel callbacks (where used only one in same
file than defined)
- get_status()
Public bug reported:
hi guys,
I try to install windows xp via qemu. I can only boot from usb and somehow it
is my problem.
I run a Winxp/xubuntu10.04 Dualboot-system with some virtual drives in windows
( till letter f:? ).
at qemu I created an image from 30Gigabytes and entered this command from
On 02/22/2011 05:09 PM, Marcelo Tosatti wrote:
On Tue, Feb 22, 2011 at 03:11:06PM -0600, Anthony Liguori wrote:
On 02/22/2011 03:07 PM, Marcelo Tosatti wrote:
On Tue, Feb 22, 2011 at 02:50:09PM -0600, Anthony Liguori wrote:
+static int write_commit_file(BdrvCopyState *s)
+{
+
On Tue, Feb 22, 2011 at 03:11:06PM -0600, Anthony Liguori wrote:
> On 02/22/2011 03:07 PM, Marcelo Tosatti wrote:
> >On Tue, Feb 22, 2011 at 02:50:09PM -0600, Anthony Liguori wrote:
> >>>+static int write_commit_file(BdrvCopyState *s)
> >>>+{
> >>>+char commit_msg[1400];
> >>>+const char *b
My basic understanding here is--there's no way for a virtio-serial
client (in-guest) to reliably reset a session such that if the client in
the guest crashes, the protocol needs to have some recovery mechanism.
This seems like a huge oversight in the design of virtio-serial. Are we
missing so
Hi everyone,
As some of you are aware we've been working for a few months now towards
creating a qemu-specific guest agent to implement bi-directional RPCs
between the host and the guest to support certain operations like
copy/paste, guest-initiated shutdown, and basic file transfer.
Current
On 02/22/2011 11:00 AM, Marcelo Tosatti wrote:
+
+static void blkcopy_switch(BdrvCopyState *s)
+{
+char src_filename[1024];
+int open_flags;
+
+strncpy(src_filename, s->src->filename, sizeof(src_filename));
+open_flags = s->src->open_flags;
strncpy doesn't leave a NULL termi
On 02/22/2011 03:07 PM, Marcelo Tosatti wrote:
On Tue, Feb 22, 2011 at 02:50:09PM -0600, Anthony Liguori wrote:
+static int write_commit_file(BdrvCopyState *s)
+{
+char commit_msg[1400];
+const char *buf = commit_msg;
+int len, ret;
+
+sprintf(commit_msg, "commit QEMU block_c
On Tue, Feb 22, 2011 at 02:50:09PM -0600, Anthony Liguori wrote:
> >+static int write_commit_file(BdrvCopyState *s)
> >+{
> >+char commit_msg[1400];
> >+const char *buf = commit_msg;
> >+int len, ret;
> >+
> >+sprintf(commit_msg, "commit QEMU block_copy %s -> %s\n",
> >s->src_devi
Hello,
No comments? Can someone commit?
Thnx.
Ciao,
Gerhard
--
http://www.wiesinger.com/
On Sun, 20 Feb 2011, Gerhard Wiesinger wrote:
Signed-off-by: Gerhard Wiesinger
---
hw/pcnet.c | 12 ++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/hw/pcnet.c b/hw/pcnet.
On 02/22/2011 11:00 AM, Marcelo Tosatti wrote:
This patch is large and not properly inlined. Can it be split up into
more reviewable chunks?
Regards,
Anthony Liguori
On 02/22/2011 11:00 AM, Marcelo Tosatti wrote:
Support live image copy + switch. That is, copy an image backing
a guest hard disk to a destination image (destination image must
be created separately), and switch to this copy.
Command syntax:
block_copy device filename [commit_filename] [-i] --
On 02/21/2011 02:43 AM, Paolo Bonzini wrote:
After gathering the comments about the two series I sent separately,
here is the full series for Win32 iothread support, ready to be
applied to uq/master.
Patches 1 to 5 are generic Win32 improvements, including the qemu-thread
implementation. Becaus
On Tue, Feb 22, 2011 at 3:26 PM, Nicholas Thomas wrote:
> On Mon, 2011-02-21 at 20:10 +, Stefan Hajnoczi wrote:
>> On Mon, Feb 21, 2011 at 12:37 PM, Kevin Wolf wrote:
>> > Am 18.02.2011 13:55, schrieb Nick Thomas:
>> >> +retry:
>> >> + if (do_read) {
>> >> + ret = recvmsg(sockfd, &m
Support live image copy + switch. That is, copy an image backing
a guest hard disk to a destination image (destination image must
be created separately), and switch to this copy.
Command syntax:
block_copy device filename [commit_filename] [-i] -- live block copy device to
image
o
v2:
- use reference counting to be safe against device hotplug / bdrv_truncate
- add comment about usage of timer
To query whether migration is active.
Signed-off-by: Marcelo Tosatti
Index: qemu/migration.c
===
--- qemu.orig/migration.c
+++ qemu/migration.c
@@ -480,3 +480,13 @@ int get_migration_state(void)
return MIG_STATE_ERROR;
Signed-off-by: Marcelo Tosatti
Index: qemu/migration.c
===
--- qemu.orig/migration.c
+++ qemu/migration.c
@@ -19,6 +19,7 @@
#include "block.h"
#include "qemu_socket.h"
#include "block-migration.h"
+#include "block-copy.h"
#includ
On Fri, Feb 18, 2011 at 11:11:11AM +0100, Jan Kiszka wrote:
> Round 2 of this part, primarily addressing review comments:
> - Reworked CPU_INTERRUPT_MCE -> exection translation
>(now done in kvm_arch_process_async_events, indeed much cleaner)
> - Add missing cpu_synchronize_state on pending M
On 02/22/2011 10:21 AM, Avi Kivity wrote:
On 02/22/2011 05:00 PM, Anthony Liguori wrote:
Drop the opaque, instead put the IOHandler in there (or maybe the
CharDev?) and use container_of().
You know, I'm not there that this is automatically better.
Why not? One less unsafe cast.
It turn
Newer ARM kernels try to probe for whether the CPU has hardware breakpoint
support. For this to work QEMU has to implement a minimal set of the cp14
debug registers. The architecture requires v7 cores to implement debug
and so there is no defined way to report its absence; however in practice
retur
On 02/22/2011 10:15 AM, Kevin Wolf wrote:
Am 22.02.2011 16:57, schrieb Anthony Liguori:
On 02/22/2011 02:56 AM, Kevin Wolf wrote:
*sigh*
It starts to get annoying, but if you really insist, I can repeat it
once more: These features that you don't need (this is the correct
description
On 02/22/2011 11:32 AM, Alon Levy wrote:
On Tue, Feb 22, 2011 at 06:06:22PM +0200, Michael S. Tsirkin wrote:
Looks like Chris will send minutes too,
so I didn't do much to polish this,
I didn't realise he's doing it until I had this, so
here's the braindump: hope it helps.
1. 0.14 postmorte
`qdev_free` when unplug a pci device
It resolves a bug when detaching/attaching a network device
# virsh detach-interface dom0 network --mac 52:54:00:f6:84:ba
Interface detached successfully
# virsh attach-interface dom0 network default --mac 52:54:00:f6:84:ba
error: Failed to attach interf
On Tue, Feb 22, 2011 at 06:06:22PM +0200, Michael S. Tsirkin wrote:
> Looks like Chris will send minutes too,
> so I didn't do much to polish this,
> I didn't realise he's doing it until I had this, so
> here's the braindump: hope it helps.
>
> 1. 0.14 postmortem
> - what went well
> wiki fo
On 02/22/2011 04:16 PM, Stefan Hajnoczi wrote:
Yes it is. It doesn't explain it though. The code involved here is
linux-aio.c and will be qcow2's bs->file. That ought to be a
host_device and AFAIK that is not growable. So I wanted to figure out
why we're even getting this far. I expected the
On 02/21/2011 12:03 PM, Andreas Niederl wrote:
On 02/18/2011 09:27 PM, Stefan Berger wrote:
On 02/18/2011 12:37 PM, Andreas Niederl wrote:
[...]
So I'm guessing that this library is not publicly available right now?
Not via the fedora repository at least. So yum install does not work, yet.
I
0.14 recap
- keeping schedule on wiki was helpful
- changelog was helpful
- testing (could even more emphasis could be improved)
- -rc cycles
- -rc2 and final release just hours
0.15
- tentative date July 1st
- qapi
- qed features
- virtagent?
- depends on whether to terminate in qemu vs exter
On 02/22/2011 05:00 PM, Anthony Liguori wrote:
Drop the opaque, instead put the IOHandler in there (or maybe the
CharDev?) and use container_of().
You know, I'm not there that this is automatically better.
Why not? One less unsafe cast.
+
+int assign_iohandler(int fd, IOAllHandler *ha
Am 22.02.2011 16:57, schrieb Anthony Liguori:
> On 02/22/2011 02:56 AM, Kevin Wolf wrote:
>>
>> *sigh*
>>
>> It starts to get annoying, but if you really insist, I can repeat it
>> once more: These features that you don't need (this is the correct
>> description for what you call "misfeatures") _ar
At Mon, 21 Feb 2011 17:48:49 +0100,
Kevin Wolf wrote:
>
> Am 21.02.2011 17:31, schrieb Nicholas Thomas:
> > Hi again,
> >
> > Thanks for looking through the patches. I'm just going through and
> > making the suggested changes now. I've also got qemu-nbd and block/nbd.c
> > working over IPv6 :) -
Looks like Chris will send minutes too,
so I didn't do much to polish this,
I didn't realise he's doing it until I had this, so
here's the braindump: hope it helps.
1. 0.14 postmortem
- what went well
wiki for planning
testing
- what can be improved
rc - cycle could be long
On 02/07/2011 10:34 AM, Alon Levy wrote:
+static int ccid_post_load(void *opaque, int version_id)
+{
+USBCCIDState *s = opaque;
+
+// This must be done after usb_device_attach, which sets state to ATTACHED,
+// while it must be DEFAULT in order to accept packets (like it is after
+
On 02/22/2011 02:56 AM, Kevin Wolf wrote:
*sigh*
It starts to get annoying, but if you really insist, I can repeat it
once more: These features that you don't need (this is the correct
description for what you call "misfeatures") _are_ implemented in a way
that they don't impact the "normal" ca
On Mon, 2011-02-21 at 20:10 +, Stefan Hajnoczi wrote:
> On Mon, Feb 21, 2011 at 12:37 PM, Kevin Wolf wrote:
> > Am 18.02.2011 13:55, schrieb Nick Thomas:
> >> +retry:
> >> +if (do_read) {
> >> +ret = recvmsg(sockfd, &msg, 0);
> >> +} else {
> >> +ret = sendmsg(sockfd, &
On Tue, Feb 22, 2011 at 3:11 PM, Kevin Wolf wrote:
> Am 22.02.2011 16:02, schrieb Stefan Hajnoczi:
>> Why are we even allowing requests that extend beyond the end of the
>> device? Is the LVM volume marked growable in the QEMU block layer?
>
> Might well be a qcow2 on LVM case that Jes was debugg
Am 22.02.2011 16:02, schrieb Stefan Hajnoczi:
> On Tue, Feb 22, 2011 at 10:18 AM, wrote:
>> +else if ((laiocb->type == QEMU_AIO_WRITE) && (ret >= 0) &&
>> + (ret < laiocb->nbytes))
>> +ret = -ENOSPC;
>
> Why is write special?
I think we need the change reads,
On Tue, Feb 22, 2011 at 10:18 AM, wrote:
> + else if ((laiocb->type == QEMU_AIO_WRITE) && (ret >= 0) &&
> + (ret < laiocb->nbytes))
> + ret = -ENOSPC;
Why is write special?
Why are we even allowing requests that extend beyond the end of the
device? Is the LVM
Although migrate_fd_put_buffer() sets MIG_STATE_ERROR if it failed,
since migrate_fd_put_notify() isn't checking error of underlying
QEMUFile, those resources are kept open. This patch checks it and
calls migrate_fd_error() in case of error.
Signed-off-by: Yoshiaki Tamura
---
migration.c |9
When qemu on the receiver gets killed during live migration, if debug
is turned on, migrate_fd_put_ready() says,
migration: done iterating
and proceeds. The reason was qemu_savevm_state_iterate() returning 1
even when qemu file has error. This patch checks
qemu_file_has_error() before returning
Hi,
During live migration, if the receiver side of qemu gets killed, the
sender side seems to be handling the error incorrectly, like it passes
the iterate phase (stage 2) and moves on to the complete state (stage
3). These patches fix the issue.
Yoshiaki Tamura (2):
savevm: avoid qemu_savevm_
On 02/22/2011 07:28 AM, Avi Kivity wrote:
On 02/22/2011 12:18 PM, Amit Shah wrote:
Introduce a new iohandler api that doesn't have multiple callbacks.
Instead, a single callback and a mask of events that got set will be
passed on to the handler. This will ease our transition to a poll()
interfa
On 02/22/2011 04:18 AM, Amit Shah wrote:
Introduce a new iohandler api that doesn't have multiple callbacks.
Instead, a single callback and a mask of events that got set will be
passed on to the handler. This will ease our transition to a poll()
interface instead of the current select() that hap
On 02/22/2011 04:37 PM, Amit Shah wrote:
On (Tue) 22 Feb 2011 [15:28:59], Avi Kivity wrote:
> On 02/22/2011 01:17 PM, Amit Shah wrote:
> >On (Tue) 22 Feb 2011 [13:09:34], Avi Kivity wrote:
> >> On 02/22/2011 12:18 PM, Amit Shah wrote:
> >> >Mark the current iohandler list as 'old'. In th
On (Tue) 22 Feb 2011 [15:28:02], Avi Kivity wrote:
> On 02/22/2011 12:18 PM, Amit Shah wrote:
> >Introduce a new iohandler api that doesn't have multiple callbacks.
> >Instead, a single callback and a mask of events that got set will be
> >passed on to the handler. This will ease our transition to
On (Tue) 22 Feb 2011 [15:28:59], Avi Kivity wrote:
> On 02/22/2011 01:17 PM, Amit Shah wrote:
> >On (Tue) 22 Feb 2011 [13:09:34], Avi Kivity wrote:
> >> On 02/22/2011 12:18 PM, Amit Shah wrote:
> >> >Mark the current iohandler list as 'old'. In the next commit we'll
> >> >introduce a new iohand
Thank you. This is exactly what I was looking for. I've created the
device, added the compilation of it to Makefile.target . Now, I'm
wondering how to persuade QEMU to initialize it?
I've registered it using the code below. The registration executes
during QEMU launch, the the initialization d
The simpletrace.py script pretty-prints a binary trace file. Most of
the code can be reused by trace file analysis scripts, so turn it into a
module.
Here is an example script that uses the new simpletrace module:
#!/usr/bin/env python
# Print virtqueue elements that were never returned to t
On 02/22/2011 01:45 PM, Jes Sorensen wrote:
On 02/22/11 12:44, Kevin Wolf wrote:
>> @@ -62,6 +63,9 @@ static void qemu_laio_process_completion(struct
qemu_laio_state *s,
>> if (ret != -ECANCELED) {
>> if (ret == laiocb->nbytes)
>> ret = 0;
>> +else if ((la
On Tue, Feb 22, 2011 at 11:48 AM, Nicholas Thomas wrote:
>
>> > + * Send I/O requests to the server.
>> > + *
>> > + * This function sends requests to the server, links the requests to
>> > + * the outstanding_list in BDRVNBDState, and exits without waiting for
>> > + * the response. The response
On 02/22/2011 01:17 PM, Amit Shah wrote:
On (Tue) 22 Feb 2011 [13:09:34], Avi Kivity wrote:
> On 02/22/2011 12:18 PM, Amit Shah wrote:
> >Mark the current iohandler list as 'old'. In the next commit we'll
> >introduce a new iohandler api that will replace the list name.
> >
> >The 'old' lis
On 02/22/2011 12:18 PM, Amit Shah wrote:
Introduce a new iohandler api that doesn't have multiple callbacks.
Instead, a single callback and a mask of events that got set will be
passed on to the handler. This will ease our transition to a poll()
interface instead of the current select() that hap
On Mon, 21 Feb 2011 14:13:04 -0600
Anthony Liguori wrote:
> On 02/21/2011 11:12 AM, Juan Quintela wrote:
> > please send in any agenda items you are interested in covering.
> >
>
> - 0.14.0 release is out, thanks to everyone that participated! Let's
> discuss what worked well, what could
On (Tue) 22 Feb 2011 [14:39:03], Alon Levy wrote:
> On Tue, Feb 22, 2011 at 03:48:31PM +0530, Amit Shah wrote:
> > Introduce a new iohandler api that doesn't have multiple callbacks.
> > Instead, a single callback and a mask of events that got set will be
> > passed on to the handler. This will ea
When emulating a 32 bit Linux user-mode program on a 64 bit target
we implement the llseek syscall in terms of lseek. Correct a bug
which meant we were silently casting the result of host lseek()
to a 32 bit integer as it passed through get_errno() and thus
throwing away the top half.
We also don'
On Tue, Feb 22, 2011 at 03:48:31PM +0530, Amit Shah wrote:
> Introduce a new iohandler api that doesn't have multiple callbacks.
> Instead, a single callback and a mask of events that got set will be
> passed on to the handler. This will ease our transition to a poll()
> interface instead of the c
On 21 February 2011 16:38, Christophe Lyon wrote:
> Now use the same algorithm as described in the ARM ARM.
>
> Signed-off-by: Christophe Lyon
Reviewed-by: Peter Maydell
On 21 February 2011 16:38, Christophe Lyon wrote:
> These constants and utility function are needed to implement some
> helpers. Defining constants avoids the need to re-compute them at
> runtime.
>
> Signed-off-by: Christophe Lyon
Reviewed-by: Peter Maydell
On 21 February 2011 16:38, Christophe Lyon wrote:
> Now use the same algorithm as described in the ARM ARM.
>
> Signed-off-by: Christophe Lyon
Reviewed-by: Peter Maydell
On 21 February 2011 16:38, Christophe Lyon wrote:
> These two constants will be used by helper functions such as recpe_f32
> and rsqrte_f32.
>
> Signed-off-by: Christophe Lyon
Reviewed-by: Peter Maydell
On 21 February 2011 16:38, Christophe Lyon wrote:
> These special values are needed to implement some helper functions,
> which return/use these values in some cases.
>
> Signed-off-by: Christophe Lyon
Reviewed-by: Peter Maydell
PS: for patches which were reviewed OK in a previous round
and ha
> > + * Send I/O requests to the server.
> > + *
> > + * This function sends requests to the server, links the requests to
> > + * the outstanding_list in BDRVNBDState, and exits without waiting for
> > + * the response. The responses are received in the `aio_read_response'
> > + * function which
On 02/22/11 12:44, Kevin Wolf wrote:
>> @@ -62,6 +63,9 @@ static void qemu_laio_process_completion(struct
>> qemu_laio_state *s,
>> if (ret != -ECANCELED) {
>> if (ret == laiocb->nbytes)
>> ret = 0;
>> +else if ((laiocb->type == QEMU_AIO_WRITE) && (ret >= 0) &&
>
Am 22.02.2011 11:18, schrieb jes.soren...@redhat.com:
> From: Jes Sorensen
>
> Signed-off-by: Jes Sorensen
> ---
> linux-aio.c |5 +
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/linux-aio.c b/linux-aio.c
> index 68f4b3d..d9c0225 100644
> --- a/linux-aio.c
> +++ b
On (Tue) 22 Feb 2011 [13:09:34], Avi Kivity wrote:
> On 02/22/2011 12:18 PM, Amit Shah wrote:
> >Mark the current iohandler list as 'old'. In the next commit we'll
> >introduce a new iohandler api that will replace the list name.
> >
> >The 'old' list will eventually be completely replaced by the
1 - 100 of 117 matches
Mail list logo