Hi,
How can I debug the Qemu source code?
Thanks,
Jun Koi wrote:
> On Wed, Apr 28, 2010 at 3:53 PM, Jan Kiszka wrote:
>> Jun Koi wrote:
>>> On Wed, Apr 28, 2010 at 8:48 AM, Jun Koi wrote:
On Wed, Apr 28, 2010 at 3:36 AM, Jan Kiszka wrote:
> Jun Koi wrote:
>> It is not necessary to continue searching for watchpoint when we
>> al
Hi,
I found that many Armadillo-packed programs fail to work on Qemu (but
is OK to run on KVM). Something must be wrong on the way we emulate
some instructions.
Anybody experiences this problem, and know where the issue is?
Thanks,
Jun
qemu-devel-bounces+stefanb=us.ibm@nongnu.org wrote on 04/24/2010
08:54:07 AM:
> The packet(s) sent out after migration are supposed to be RAPR type of
> packets. If they are supposed to go anywhere useful, the RAPR ethernet
> identifier needs to be fix.
>
> Also see http://www.iana.org/assi
On Thu, 29 Apr 2010 12:00:45 +0200
Kevin Wolf wrote:
> >> /**
> >> * bdrv_info_stats(): show block device statistics
> >> *
> >> @@ -1544,19 +1580,34 @@ void bdrv_stats_print(Monitor *mon, const QObject
> >> *data)
> >> * - "wr_bytes": bytes written
> >> * - "rd_operations": rea
On Wed, 28 Apr 2010 18:24:29 -0500
Anthony Liguori wrote:
> On 04/28/2010 03:32 PM, Luiz Capitulino wrote:
> > It's a parsable errno string representation, this is needed
> > because some management tools want to base their action on
> > the error cause.
> >
> > Signed-off-by: Luiz Capitulino
> >
The LSI controller was lacking any system reset handler. This is an
attempt to fix it.
Signed-off-by: Jan Kiszka
---
hw/lsi53c895a.c | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index 98b7f54..f328057 100644
--- a/hw/lsi53c
They aren't used afterwards nor supposed to be stored by a bdrv_create
handler.
Signed-off-by: Jan Kiszka
---
block.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/block.c b/block.c
index 7974215..f228d8d 100644
--- a/block.c
+++ b/block.c
@@ -411,6 +411,7 @@ int bdrv_
qemu_opts_create duplicates the id we pass in case it shall be stored in
the opts. So we do not need to dup it in qemu_opts_parse, leaking a few
bytes this way.
Signed-off-by: Jan Kiszka
---
qemu-option.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/qemu-option.c b
Hi,
I am trying to inject NMIs to a guest running in QEMU by using
cpu_interrupt(). I notice that QEMU slows down significantly when NMIs
are being injected.
The injected NMIs per second is around 10. QEMU is pined to one core.
A computation intensive application runs in the guest. When no NMIs
a
On Wed, Apr 28, 2010 at 12:47:49PM -0500, Anthony Liguori wrote:
> On 04/28/2010 12:04 PM, Luiz Capitulino wrote:
> >On Wed, 28 Apr 2010 11:01:12 -0500
> >Anthony Liguori wrote:
> >
> >
> >>On 04/28/2010 10:56 AM, Kevin Wolf wrote:
> >>
> >>>This adds the wr_highest_sector blockstat which
> The tool can trace the functions called by qemu while recompling
> qemu with exra options like -finstrument-functions.
> It's just like strace and ltrace, but used to trace userland function.
>
Sorry, a mistake.
The tool can trace the functions directly without any exra options.
Regards,
robe
> Then I just run "info cpus" as following.
> (QEMU) info cpus
>
> But now how can I get into the rountine of "info cpus" ?
> Of course, set trace point to the function can do the work, but if I
> don't know where the routine is, is there any way to step into the
> rountine?
>
Regarding to the que
qemu-img rebase must always give clusters in the COW file priority over those
in the backing file. As it failed to use number of non-allocated clusters but
assumed the maximum, it was possible that allocated clusters were taken from
the backing file instead, leading to a corrupted output image.
Si
On (Thu) Apr 29 2010 [21:36:30], Kusanagi Kouichi wrote:
> > Please include me in the CC when you send it. Also please mention how
> > you test this feature.
> >
> > Amit
>
> I put printf()s into involved functions. Then ran qemu on a terminal
> emulator, and resized it.
> That's how
The old test didn't consider cases in which the COW files contains some
unallocated clusters and after them allocated ones again.
Signed-off-by: Kevin Wolf
---
024 | 24 ++--
024.out | 63 +++
2 files changed
On 2010-04-29 16:17:18 +0530, Amit Shah wrote:
> On (Thu) Apr 29 2010 [16:12:38], Kusanagi Kouichi wrote:
> > On 2010-04-16 18:32:19 +0530, Amit Shah wrote:
> > > On (Fri) Apr 16 2010 [20:42:47], Kusanagi Kouichi wrote:
> > > >
> > > > Signed-off-by: Kusanagi Kouichi
> > > > ---
> > > > hw/virti
From: Gautham R Shenoy
Currently the commandline to create a virtual-filesystem pass-through between
the guest and the host is as follows:
#qemu -fsdev fstype,id=ID,path=path/to/share \
-device virtio-9p-pci,fsdev=ID,mount_tag=tag \
This patch provides a syntactic short-cut to achieve the
From: Anthony Liguori
Implement P9_TCREATE support.
[jv...@linux.vnet.ibm.com: strdup to qemu_strdup conversion]
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/file-op-9p.h |8 ++
hw/virtio-9p-local.c | 87 +
hw/virtio-9p.c | 264 ++
From: Anthony Liguori
Implement P9_TREMOVE support.
This gets file deletion to work.
[mo...@in.ibm.com: Fix truncate to use the relative path]
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/file-op-9p.h |1 +
hw/virtio-9p-local.c |6 ++
hw/virtio-9p.c
From: Anthony Liguori
Implement P9_TWSTAT support.
This gets file and directory creation to work.
[jv...@linux.vnet.ibm.com: strdup to qemu_strdup conversion]
[aneesh.ku...@linux.vnet.ibm.com: v9fs_fix_path]
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/file-op-9p.h
From: Anthony Liguori
Don't do anything special for flush.
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/virtio-9p.c | 35 ++-
1 files changed, 2 insertions(+), 33 deletions(-)
diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c
index ca8cf6
From: Anthony Liguori
Implement P9_TREAD support.
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/file-op-9p.h |6 ++
hw/virtio-9p-local.c | 37
hw/virtio-9p.c | 234 +-
3 files changed, 275 inser
From: Anthony Liguori
Implement P9_TWRITE support.
This gets write to file to work
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/file-op-9p.h |1 +
hw/virtio-9p-local.c |7 +++
hw/virtio-9p.c | 112 +-
From: Anthony Liguori
Implement P9_TCLUNK support.
This patch gets `ls -al` to work.
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/virtio-9p.c | 16 ++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c
index
From: Anthony Liguori
Implement P9_TOPEN support.
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/file-op-9p.h |2 +
hw/virtio-9p-local.c | 12
hw/virtio-9p.c | 153 --
3 files changed, 162 insertions
From: Anthony Liguori
Implement P9_TWALK support.
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/virtio-9p.c | 173 +++-
1 files changed, 171 insertions(+), 2 deletions(-)
diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c
From: Anthony Liguori
Implement P9_TATTACH support.
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/virtio-9p.c | 33 +++--
1 files changed, 31 insertions(+), 2 deletions(-)
diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c
index c1c7723..48b5e8
From: Anthony Liguori
Implement P9_TSTAT support. This get the mount to work on the guest.
[ki...@linux.vnet.ibm.com: malloc to qemu_malloc conversion]
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/virtio-9p.c | 55 +++
From: Anthony Liguori
Implement P9_TVERSION support.
[sripat...@in.ibm.com: Handle unknown 9P versions as per the standards]
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/virtio-9p.c | 15 +--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git
From: Anthony Liguori
Add scatter-gather helper functions.
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/virtio-9p.c | 53 +
1 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/hw/virtio-9p.c b/hw/virtio
From: Anthony Liguori
Add helpers to obtain file stat and mode details.
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/virtio-9p.c | 186
1 files changed, 186 insertions(+), 0 deletions(-)
diff --git a/hw/virtio
From: Anthony Liguori
Helper APIs for FID and QID management.
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/virtio-9p.c | 123
1 files changed, 123 insertions(+), 0 deletions(-)
diff --git a/hw/virtio-9p.c b/hw
From: Anthony Liguori
Add minimal set of FileOperations and the corresponding implementations for
local fstype. These will be required for the FID management patches later on.
[aneesh.ku...@linux.vnet.ibm.com: rpath fix ]
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/f
From: Anthony Liguori
Add helpers to do string manipulation.
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/virtio-9p.c | 127
1 files changed, 127 insertions(+), 0 deletions(-)
diff --git a/hw/virtio-9p.c b/hw/
From: Anthony Liguori
This patch doesn't implement the 9p protocol handling
code. It adds a simple device which dump the protocol data.
[jv...@linux.vnet.ibm.com: Little-Endian to host format conversion]
[aneesh.ku...@linux.vnet.ibm.com: Multiple-mounts support]
Signed-off-by: Anthony Liguori
From: Anthony Liguori
Add helpers to process the PDUs.
[ki...@linux.vnet.ibm.com: malloc to qemu_malloc coversion]
Signed-off-by: Anthony Liguori
Signed-off-by: Aneesh Kumar K.V
---
hw/virtio-9p-debug.h |7 ++
hw/virtio-9p.c | 243 ++
From: Gautham R Shenoy
This patch creates a new command line option named -fsdev to hold any file
system specific information.
The option will currently hold the following attributes:
-fsdev fstype id=id,path=path_to_share
where
fstype: Type of the file system.
id: Identifier used to refer t
Hi,
This patch series adds VirtFS to QEMU. VirtFS is code named for a 9P filesystem
server in QEMU enabling paravirtual filesystem pass-trhough between KVM host
and guest.
VirtFS is intended to offer an alternative to using NFS/CIFS to share host
filesystems on
guest and provides better perform
On (Thu) Apr 29 2010 [16:12:38], Kusanagi Kouichi wrote:
> On 2010-04-16 18:32:19 +0530, Amit Shah wrote:
> > On (Fri) Apr 16 2010 [20:42:47], Kusanagi Kouichi wrote:
> > >
> > > Signed-off-by: Kusanagi Kouichi
> > > ---
> > > hw/virtio-console.c|3 +++
> > > hw/virtio-serial-bus.c |
This adds the wr_highest_sector blockstat which implements what is generally
known as the high watermark. It is the highest offset of a sector written to
the respective BlockDriverState since it has been opened.
The query-blockstat QMP command is extended to add this value to the result,
and also
Am 28.04.2010 18:01, schrieb Anthony Liguori:
> On 04/28/2010 10:56 AM, Kevin Wolf wrote:
>> This adds the wr_highest_sector blockstat which implements what is generally
>> known as the high watermark. It is the highest offset of a sector written to
>> the respective BlockDriverState since it has b
Am 28.04.2010 19:31, schrieb Luiz Capitulino:
> On Wed, 28 Apr 2010 17:56:20 +0200
> Kevin Wolf wrote:
>
>> This adds the wr_highest_sector blockstat which implements what is generally
>> known as the high watermark. It is the highest offset of a sector written to
>> the respective BlockDriverSta
David Ahern wrote:
> Signed-off-by: David Ahern
Thanks, merged (with a tiny cleanup).
Jan
> ---
> hw/usb-ehci.c | 41 +
> 1 files changed, 29 insertions(+), 12 deletions(-)
>
> diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c
> index 29baf74..e2f8e54 100644
On 2010-04-16 18:32:19 +0530, Amit Shah wrote:
> On (Fri) Apr 16 2010 [20:42:47], Kusanagi Kouichi wrote:
> >
> > Signed-off-by: Kusanagi Kouichi
> > ---
> > hw/virtio-console.c|3 +++
> > hw/virtio-serial-bus.c |8
> > hw/virtio-serial.h |9 +++--
> > 3 files ch
45 matches
Mail list logo