On Fri, 29 Mar 2013 10:02:37 +0100
fred.kon...@greensocs.com wrote:
> From: KONRAD Frederic
>
> This is the next part of virtio-refactoring.
>
> Basically it creates virtio-serial device which extends virtio-device.
> Then a virtio-serial can be connected on a virtio-bus.
> virtio-serial-pci, v
On Wed, Apr 03, 2013 at 02:09:16PM +1000, Peter Crosthwaite wrote:
> Some dodgy casts were making a mess of these msgs.
Hi Peter
>
> Signed-off-by: Peter Crosthwaite
> ---
>
> hw/m25p80.c |6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/hw/m25p80.c b/hw/m25
On Fri, 29 Mar 2013 10:02:38 +0100
fred.kon...@greensocs.com wrote:
> From: KONRAD Frederic
>
> Create virtio-serial which extends virtio-device, so it can be connected
> on virtio-bus.
>
> Signed-off-by: KONRAD Frederic
> ---
> hw/virtio-pci.c| 2 +-
> hw/virtio-serial-bus.c | 95
>
Dmitry Fleytman writes:
> From: Dmitry Fleytman
>
> Virtio-net driver currently negotiates network offloads
> on startup via features mechanism and have no ability to
> change offloads state later.
> This patch introduced a new control command that allows
> to configure device network offloads st
> > Considering the following when the same seabios code snippet:
> >
> >pci_config_writeb(0x31): bdf: 0x pam: 0x005b
> >
> > is executed to mark an pc.ram area 0xc as readonly:
> >
> > Entering vhost_begin
> > Entering vhost_region_del section: 0
From: Thang Pham
This patch allows CPUs to be hotplugged to a running guest. The QEMU
option (maxcpus) can be used to define the total number of standby
and configured CPUs available at boot time, although it is not
necessary because you can hotplug standby CPUs after boot time. For
example, the
Hi all,
this is what our approach to CPU hotplug looks like.
With respect to Igor's CPU hotplug series, how should we proceed?
Should we change the interface to
qemu_system_cpu_add_notifier/qemu_system_cpu_hotplug_request/cpu-add etc?
Feedback regarding the non-API part is also highly welcome!
Hi All,
I'm very new to qemu code base and keenly interested in understanding how
live VM migration works (pre-copy mechanism). So that I can work on
contributing pre-copy based live VM cloning.
Any inputs from current developers regarding pre-copy migration and
specific hook points to implement
> ---
> Is it expected that this non-blocking condition implies lockup of the
> iothread?
No. The idea was to make the loop cheaper when you had a qemu_notify_event()
or bottom half, basically something that causes main_loop_wait() to wake up
immediately multiple times. When that happens, it is
Benoît Canet writes:
> Thanks a lot,
>
> Do you have an idea of what is left to be done on it ?
>
It has to rewritten with the new model with respect to migration. Also
these is problem of how much time does it take to migrate the fid
information ?. We also need to ensure new 9p request are bloc
Add documentation of ftrace backend.
Signed-off-by: Eiichi Tsukata
---
docs/tracing.txt | 16
1 file changed, 16 insertions(+)
diff --git a/docs/tracing.txt b/docs/tracing.txt
index cf53c17..60ff9c5 100644
--- a/docs/tracing.txt
+++ b/docs/tracing.txt
@@ -175,6 +175,22 @@ unles
This patch adds a ftrace tracing backend which sends trace event to
ftrace marker file. You can effectively compare qemu trace data and
kernel(especially, kvm.ko when using KVM) trace data.
The ftrace backend is restricted to Linux only.
To try out the ftrace backend:
$ ./configure --trace-backe
This patchset introduces a new tracing backend "ftrace".
Currently, QEMU tracing backends do not support userspace tracing with ftrace.
Collecting QEMU trace data and kernel trace data simultaniouly is useful for
latency analysis and debugging especially when using KVM.
With ftrace backend, you c
On (Tue) 02 Apr 2013 [07:52:19], Anthony Liguori wrote:
> Amit Shah writes:
>
> > On (Mon) 01 Apr 2013 [09:02:46], Anthony Liguori wrote:
> >> Amit Shah writes:
> >>
> >> > Opening backends in non-blocking mode isn't necessary, we don't do
> >> > anything while waiting for data.
> >> >
> >> > T
于 2013-4-2 21:55, Kevin Wolf 写道:
Am 01.04.2013 um 12:01 hat Wenchao Xia geschrieben:
Now code for external snapshot are packaged as one case
in qmp_transaction, so later other operation could be added.
The logic in qmp_transaction is changed a bit: Original code
tries to create all images
于 2013-4-2 21:59, Kevin Wolf 写道:
Am 01.04.2013 um 12:01 hat Wenchao Xia geschrieben:
Last operaton should be cancelled first.
Signed-off-by: Wenchao Xia
Should it? This commit message does little to convince me.
Kevin
I think so, if two request are "snapshot_blkdev ide0 newimage.qcow
From: Wendy Liang
Usually, nand erase operation has only 2 or 3 address cycles.
We need to mask s->addr to zero unset stale high-order bytes in the nand address
before using it as the erase address.
This fixes the NAND erase operation in Linux.
[PC: Generalised to work for any number of address
The uint32_t *app argument doesn't exist in real hardware. It was a hack in
xilinx_axidma/enet to fake the (secondary) control stream connection. Removed
the argument and added the second stream to axienet/dma.
Signed-off-by: Peter Crosthwaite
---
changed since v3:
Rebased against now synchronous
Implement flow control for the RX data path from xilinx_axienet->xilinx_axidma.
On short return from axidma, then ethernet sets up the notify callback to resume
transfer from where it left off.
This also allows the ethernet to track whether there is an in progress
transaction
and return false fro
If there is no DMA buffer descriptor, the DMA halts, not idles.
Signed-off-by: Peter Crosthwaite
Acked-by: Edgar E. Iglesias
---
changed from v3:
Fixed for TX path as well as RX
hw/xilinx_axidma.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/xilinx_axidma.c b/
Add basic flow control to stream. A stream slave may return short, indicating
that it is not capable of accepting any more data at the present time. Polling
or a callback can be used via the can_push() function to determine when the
slave can receive again.
Signed-off-by: Peter Crosthwaite
---
Create a separate child object to proxy the stream slave connection. This is
setup for future work where a second stream slave connection is needed. The
new child object is created at qdev init time and is linked back to the parent
(the ethernet device itself) automatically.
Stream slave masters d
于 2013-4-3 9:17, Eric Blake 写道:
On 04/02/2013 05:47 AM, Wenchao Xia wrote:
This patch adds function bdrv_query_snapshot_info_list(), which will
retrieve snapshot info of an image in qmp object format. The implementation
is based on the code moved from qemu-img.c with modification to fit more
Create a separate child object to proxy the stream slave connection. This is
setup for future work where a second stream slave connection is needed. The
new child object is created at qdev init time and is linked back to the parent
(the ethernet device itself) automatically.
Stream slave masters d
Explicitly make the ethernet a child of the machine. This is needed to set
and use links pre-realize. Also makes the ethernet initialization consistent
with its peer DMA.
Signed-off-by: Peter Crosthwaite
Reviewed-by: Andreas Färber
Acked-by: Edgar E. Iglesias
---
hw/microblaze/petalogix_ml605
Just attach devices straight to the root machine node, rather than the
"unattached node"
Signed-off-by: Peter Crosthwaite
Reviewed-by: Andreas Färber
Acked-by: Edgar E. Iglesias
---
Suggested (indirectly) by Andreas if he wants to put his Suggested-by to it.
hw/microblaze/petalogix_ml605_mmu.
The prescribed transition from SysBusDevice::init to Device::realize. I'm going
with Andreas suggestion to move the sysbus foo to Object::init for early IRQ
visibility.
Signed-off-by: Peter Crosthwaite
Acked-by: Edgar E. Iglesias
---
hw/xilinx_axidma.c | 25 -
1 files
Register the reset function as the Device::reset function rather than
explicitly call it from the sysbus::init.
Signed-off-by: Peter Crosthwaite
Acked-by: Edgar E. Iglesias
---
hw/xilinx_axidma.c | 12 +++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/hw/xilinx_axi
Standard QOM cast macro. Replaces usages of FROM_SYSBUS
Signed-off-by: Peter Crosthwaite
Acked-by: Edgar E. Iglesias
---
hw/xilinx_axidma.c | 13 +
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/hw/xilinx_axidma.c b/hw/xilinx_axidma.c
index d57538e..7cb40bd 100644
Typedef xilinx_axidma's object state struct to shorten the repeated usages of
struct XilinxAXIDMA.
Signed-off-by: Peter Crosthwaite
Acked-by: Edgar E. Iglesias
---
hw/xilinx_axidma.c | 16 +---
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/hw/xilinx_axidma.c b/hw
The prescribed transition from SysBusDevice::init to Device::realize. Im going
with Andreas suggestion to move the sysbus foo to Object::init for early IRQ
visibility.
Signed-off-by: Peter Crosthwaite
Reviewed-by: Andreas Färber
Acked-by: Edgar E. Iglesias
---
Changed from v3: Added missing inc
Register the reset function and the Device::reset function rather than
explicitly call it from the sysbus::init.
Signed-off-by: Peter Crosthwaite
Reviewed-by: Andreas Färber
Acked-by: Edgar E. Iglesias
---
hw/xilinx_axienet.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
di
Standard QOM cast macro. Replaces usages of FROM_SYSBUS
Signed-off-by: Peter Crosthwaite
Reviewed-by: Andreas Färber
Acked-by: Edgar E. Iglesias
---
hw/xilinx_axienet.c | 11 ---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/hw/xilinx_axienet.c b/hw/xilinx_axienet.c
Typedef xilinx_axienets object state struct to shorten the repeated usages of
struct XilinxAXIEnet.
Signed-off-by: Peter Crosthwaite
Reviewed-by: Andreas Färber
Acked-by: Edgar E. Iglesias
---
hw/xilinx_axienet.c | 44 +++-
1 files changed, 23 inserti
Hi all. The Xilinx AXIEnet and DMA devices have two AXI stream connections
(control and data), only one of which is currently modelled (data). AXI stream
is modelled using the stream QOM interface described in stream.h. Unfortunately,
interfaces have no nice way of modelling multiple connections of
All of migration code can be found in migrate.c file.
To understand migration, you can run qemu in gdb and place breakpoints in
do_savevm() function on server side and do_loadvm() function on client
side.
Migration consists of the following parts:
1. save device driver state (11 in number. this c
On Tue, 2013-04-02 at 21:04 -0700, Nicholas A. Bellinger wrote:
> On Tue, 2013-04-02 at 16:27 +0300, Michael S. Tsirkin wrote:
> > On Mon, Apr 01, 2013 at 06:05:47PM -0700, Nicholas A. Bellinger wrote:
> > > On Fri, 2013-03-29 at 09:14 +0100, Paolo Bonzini wrote:
> > > > Il 29/03/2013 03:53, Nicho
Reset can be used to empty the rx-fifo. As the fifo full condition is
used to return false from can_receive, queued rx data should be flushed
on reset accordingly.
Cc: Wendy Liang
Cc: Jason Wu
Signed-off-by: Peter Crosthwaite
Reported-by: Jason Wu
---
hw/cadence_uart.c |1 +
1 files cha
Hi Peter,
This is a corner case bug discovered by U-boot driver for cadence GEM.
Regards,
Peter
Peter Crosthwaite (1):
cadence_uart: Flush queued characters on reset
hw/cadence_uart.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
The LQSPI bus attachment supports byte/halfword and misaligned
accesses. Fixed. Refactored the LQSPI cache to be byte-wise
instead of word wise accordingly.
Signed-off-by: Peter Crosthwaite
---
hw/xilinx_spips.c | 31 +--
1 files changed, 17 insertions(+), 14 delet
Do 16 words per fifo flush. Increases performance and decreases
debug verbosity. This data depth has no real hardware analogue,
so just go with something that has reasonable performance.
Signed-off-by: Peter Crosthwaite
---
hw/xilinx_spips.c | 11 +++
1 files changed, 7 insertions(+),
The debug printfs on every SPI operation is extremely verbose. Add
a second level of debug for this.
Signed-off-by: Peter Crosthwaite
---
hw/xilinx_spips.c | 68 -
1 files changed, 41 insertions(+), 27 deletions(-)
diff --git a/hw/xilinx_sp
This is worth keeping track of when debugging the device model.
Signed-off-by: Peter Crosthwaite
---
hw/xilinx_spips.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hw/xilinx_spips.c b/hw/xilinx_spips.c
index 43ce2d8..0d01103 100644
--- a/hw/xilinx_spips.c
+++ b/hw/
The QSPI controller was using byte-wide stripes when striping across
the two flashes in dual parallel mode. The real hardware however uses
individual bit striping. QEMU misbehaves in the (corner) case where
data is written/read in dual-parallel mode and read/written back in
single mode.
Signed-off
The CTRL register was RAZ/WI on some of the RW bits. Even though the
function behind these bits is invalid in QEMU, they should still be
guest accessible. Fix.
Signed-off-by: Peter Crosthwaite
---
hw/xilinx_spips.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/x
Implement the automatic CS control feature. If the MANUAL_CS bit is
cleared then the chip select stay de-asserted as long as the tx FIFO
is empty.
Signed-off-by: Peter Crosthwaite
---
hw/xilinx_spips.c | 12 +---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/hw/xilinx
SPI has a mode where it automatically starts based on tx fifo
occupancy. Implemented.
Signed-off-by: Peter Crosthwaite
---
hw/xilinx_spips.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/xilinx_spips.c b/hw/xilinx_spips.c
index 4f921f8..f7d942e 100644
--- a/hw/xi
Invalidate the LQSPI cached page when transitioning into LQSPI mode.
Otherwise there is a possibility that the controller will return stale
data to the guest when transitioning back to LQ_MODE after a page
program.
Signed-off-by: Peter Crosthwaite
---
hw/xilinx_spips.c |8
1 files
QSPI has a bigger FIFO than the regular SPI controller. Differentiate
between the two with correct FIFO sizes for each.
Signed-off-by: Peter Crosthwaite
---
hw/xilinx_spips.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/hw/xilinx_spips.c b/hw/xilinx_spips.c
ind
The LQSPI code currently manipulates the config register to achieve its
ends. Some (agressively designed) drivers assume that the config
register preserves state across a transition into and out of LQSPI
mode. Fixed by just restoring R_CONFIG to its original value after
LQSPI does its thing.
Signe
You really need this is you want to track a guest banging on LQSPI.
Signed-off-by: Peter Crosthwaite
---
hw/xilinx_spips.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/hw/xilinx_spips.c b/hw/xilinx_spips.c
index a8691d5..29636ce 100644
--- a/hw/xilinx_spips.c
+++
The real hardware does not produce interrupts in LQSPI mode. Inhibit
generation of interrupts when the LQ_MODE bit is set.
Signed-off-by: Peter Crosthwaite
---
hw/xilinx_spips.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/hw/xilinx_spips.c b/hw/xilinx_spips.c
By default these interrupts are clear on read.
Signed-off-by: Peter Crosthwaite
---
hw/xilinx_spips.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/xilinx_spips.c b/hw/xilinx_spips.c
index 734adf0..261d948 100644
--- a/hw/xilinx_spips.c
+++ b/hw/xilinx_spips.c
@
Make SPI and QSPI different classes. QSPIPS is setup as a child of SPIPS.
Only QSPI has the LQSPI functionality, so move all that to the child class.
Signed-off-by: Peter Crosthwaite
---
Changed from v2:
User parent_obj as appropriate for QOM parents (PMM review)
Changed from v1:
Fixed compile bu
Updates to the Zynq SPI controller. Some QOMifying cleanup, followed by
a number of bugs/incompletnesses found by some (very) rigourous test
vectors.
Peter Crosthwaite (15):
xilinx_spips: seperate SPI and QSPI as two classes
xilinx_spips: Make interrupts clear on read
xilinx_spips: Inhibit
If there is no backing bdrv, let the debugging developer know about it.
Signed-off-by: Peter Crosthwaite
---
hw/m25p80.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/m25p80.c b/hw/m25p80.c
index f8aa0e9..812cae0 100644
--- a/hw/m25p80.c
+++ b/hw/m25p80.c
@@ -605,6
The debug printfs on every page program/read is extremely verbose. Add
add second level of debug for this.
Signed-off-by: Peter Crosthwaite
---
hw/m25p80.c | 36 +++-
1 files changed, 19 insertions(+), 17 deletions(-)
diff --git a/hw/m25p80.c b/hw/m25p80.c
ind
Some of the debug printfs in m25p80 are really guest errors.
Changed over to qemu_log_mask(LOG_GUEST_ERROR accordingly.
Signed-off-by: Peter Crosthwaite
---
hw/m25p80.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/hw/m25p80.c b/hw/m25p80.c
index 34b476b.
Some dodgy casts were making a mess of these msgs.
Signed-off-by: Peter Crosthwaite
---
hw/m25p80.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/m25p80.c b/hw/m25p80.c
index 55e9d0d..34b476b 100644
--- a/hw/m25p80.c
+++ b/hw/m25p80.c
@@ -538,15 +538,15 @@ sta
Fix up the debug printfery m25p80 in various ways. 0 functional diff.
Peter Crosthwaite (4):
m25p80: Fix debug messages.
m25p80: Convert guest errors to LOG_GUEST_ERROR
m25p80.c: Multiple debug verbosity levels
m25p80: Add debug message for no bdrv
hw/m25p80.c | 53 +++
When the conditions blocking receiving are cleared, check for buffered rx
packets.
Signed-off-by: Peter Crosthwaite
---
hw/xilinx_axienet.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/xilinx_axienet.c b/hw/xilinx_axienet.c
index 5785290..07c4bad 100644
--- a/hw/x
On Tue, 2013-04-02 at 16:27 +0300, Michael S. Tsirkin wrote:
> On Mon, Apr 01, 2013 at 06:05:47PM -0700, Nicholas A. Bellinger wrote:
> > On Fri, 2013-03-29 at 09:14 +0100, Paolo Bonzini wrote:
> > > Il 29/03/2013 03:53, Nicholas A. Bellinger ha scritto:
> > > > On Thu, 2013-03-28 at 06:13 -0400,
This if-else logic inhibits setting of the event status (ES) bits
when interrupts are enabled. This is incorrect. ES should be set
regardless on INTEN state. INTEN only inhibits the signalling of
events to PL330 threads, not setting of the ES register.
Signed-off-by: Peter Crosthwaite
---
hw/pl
Hi Peter
I recently did a bringup of the common Linux kernel pl330 driver as
instantiated in Zynq. Just the one QEMU bug discovered in the process,
with the interrupt logic.
Regards,
Peter
Peter Crosthwaite (1):
pl330: Dont inhibit ES bits on INTEN
hw/pl330.c |3 +--
1 files changed, 1
On Tue, 2013-04-02 at 17:50 -0500, Scott Wood wrote:
> On 04/02/2013 04:38:45 PM, Alex Williamson wrote:
> > On Tue, 2013-04-02 at 16:08 -0500, Stuart Yoder wrote:
> > > On Tue, Apr 2, 2013 at 3:57 PM, Scott Wood
> > wrote:
> > > >> >C. Explicit mapping using normal DMA map. The last idea
On Tue, 2013-04-02 at 17:44 -0500, Scott Wood wrote:
> On 04/02/2013 04:32:04 PM, Alex Williamson wrote:
> > On Tue, 2013-04-02 at 15:57 -0500, Scott Wood wrote:
> > > On 04/02/2013 03:32:17 PM, Alex Williamson wrote:
> > > > On x86 the interrupt remapper handles this transparently when MSI
> > > >
On Tue, 2013-04-02 at 17:13 -0500, Scott Wood wrote:
> On 04/02/2013 04:16:11 PM, Alex Williamson wrote:
> > On Tue, 2013-04-02 at 15:54 -0500, Stuart Yoder wrote:
> > > The number of windows is always power of 2 (and max is 256). And
> > to reduce
> > > PAMU cache pressure you want to use the f
Hi,
I am looking into hw/vga.c and hw/vga-pci.c as a starting point in my
effort to get vbox svga card into kvm.
However, given my very basic understanding of VGA/SVGA standards, can
somebody throw some light on the inner workings of the std vga card in
kvm?
Also, are there any g
Hi Paolo,
Thanks for the clues.
On Tue, Apr 2, 2013 at 9:11 PM, Paolo Bonzini wrote:
> Il 02/04/2013 11:04, Peter Crosthwaite ha scritto:
>> Public bug: 1154328
>> Broken Commit: a29753f8aa79a34a324afebe340182a51a5aef11
>>
>> ATM, the timeout from g_pollfds_fill is inhibiting unlocking of the
>>
On 04/02/2013 05:47 AM, Wenchao Xia wrote:
> This patch adds function bdrv_query_snapshot_info_list(), which will
> retrieve snapshot info of an image in qmp object format. The implementation
> is based on the code moved from qemu-img.c with modification to fit more
> for qmp based block layer AP
On Tue, 2013-04-02 at 15:01 +0300, Michael S. Tsirkin wrote:
> On Mon, Apr 01, 2013 at 11:58:21PM +, Nicholas A. Bellinger wrote:
> > From: Nicholas Bellinger
> >
> > Hi folks,
> >
> > This series adds a virtio_queue_valid() for use by virtio-pci code in
> > order to prevent opreations upon
On 2 April 2013 17:45, Paolo Bonzini wrote:
> Il 02/04/2013 17:42, Brad Smith ha scritto:
>> Replace the hardcoded list of OS's utilizing clock_gettime() for monotonic
>> time with a configure test. This is to fix the use of monotonic time on
>> OpenBSD but allows for other POSIX compliant OS's su
On 04/02/2013 04:38:45 PM, Alex Williamson wrote:
On Tue, 2013-04-02 at 16:08 -0500, Stuart Yoder wrote:
> On Tue, Apr 2, 2013 at 3:57 PM, Scott Wood
wrote:
> >> >C. Explicit mapping using normal DMA map. The last idea
is that
> >> >we would introduce a new ioctl to give user-s
From: Jason Wang
Cc: Markus Armbruster
Cc: Jason Wang
Signed-off-by: Jason Wang
Message-id: 1361354641-51969-1-git-send-email-jasow...@redhat.com
Signed-off-by: Anthony Liguori
(cherry picked from commit 2ca81baa0b3363d57de94f8b80c02a003b361161)
Signed-off-by: Michael Roth
---
qapi-schema.
From: John Rigby
Upstream libc has recently changed to start using
FUTEX_WAIT_BITSET instead of FUTEX_WAIT and this
is causing do_futex to return -TARGET_ENOSYS.
Pass bitset in val3 to sys_futex which will be
ignored by kernel for the FUTEX_WAIT case.
Signed-off-by: John Rigby
Signed-off-by: R
On 04/02/2013 04:32:04 PM, Alex Williamson wrote:
On Tue, 2013-04-02 at 15:57 -0500, Scott Wood wrote:
> On 04/02/2013 03:32:17 PM, Alex Williamson wrote:
> > On x86 the interrupt remapper handles this transparently when MSI
> > is enabled and userspace never gets direct access to the device
MS
From: Orit Wasserman
Signed-off-by: Orit Wasserman
Reviewed-by: Peter Maydell
Signed-off-by: Juan Quintela
(cherry picked from commit 0db65d624e0211a43c011579d6607a50d8f06082)
Signed-off-by: Michael Roth
---
page_cache.c |1 +
1 file changed, 1 insertion(+)
diff --git a/page_cache.c b
From: Stefan Hajnoczi
Since qcow2 metadata is cached we need to flush the caches, not just the
underlying file. Use bdrv_flush(bs) instead of bdrv_flush(bs->file).
Also add the error return path when bdrv_flush() fails and move the
flush after checking for qcow2_alloc_clusters() failure so that
On Tue, Apr 02, 2013 at 06:45:17PM +0200, Paolo Bonzini wrote:
> Il 02/04/2013 17:42, Brad Smith ha scritto:
> > Replace the hardcoded list of OS's utilizing clock_gettime() for monotonic
> > time with a configure test. This is to fix the use of monotonic time on
> > OpenBSD but allows for other PO
From: Peter Lieven
XBZRLE encoded migration introduced a MRU page cache
meachnism. Unfortunately, cached items where never freed in
case of a collision in the page cache on cache_insert().
This lead to out of memory conditions during XBZRLE migration
if the page cache was small and there where a
From: Igor Mitsyanko
Current colon position in "waiting for telnet connection" message template
produces messages like:
QEMU waiting for connection on: telnet::127.0.0.1,server
After moving a colon to the right, we will get a correct messages like:
QEMU waiting for connection on: telnet:127.
From: Jason Wang
Obviously, hub does not support multiqueue tap. So this patch forbids creating
multiple queue tap when hub is used to prevent the crash when command line such
as "-net tap,queues=2" is used.
Cc: qemu-sta...@nongnu.org
Signed-off-by: Jason Wang
Signed-off-by: Stefan Hajnoczi
(c
I'm getting around to it, Michael, I promise =).
Just came back from vacation.
I have to re-build the ib_ucm kernel module from the original SUSE
kernel that I'm using along before I can test it..
The machines I'm using are slightly tied up with other things, so its
taking me a little ti
On 04/02/2013 04:16:11 PM, Alex Williamson wrote:
On Tue, 2013-04-02 at 15:54 -0500, Stuart Yoder wrote:
> The number of windows is always power of 2 (and max is 256). And
to reduce
> PAMU cache pressure you want to use the fewest number of windows
> you can.So, I don't see practically ho
On 04/02/2013 04:08:27 PM, Stuart Yoder wrote:
On Tue, Apr 2, 2013 at 3:57 PM, Scott Wood
wrote:
>> This could also be done as another "type2" ioctl extension.
>
>
> Again, what is "type2", specifically? If someone else is adding
their own
> IOMMU that is kind of, sort of like PAMU, how wou
From: Stefan Hajnoczi
update_refcount() affects the refcount cache, it does not write to disk.
Therefore bdrv_flush(bs->file) does nothing. We need to flush the
refcount cache in order to write out the refcount updates!
While we're here also add error returns when qcow2_cache_flush() fails.
Si
On 04/02/2013 03:45 PM, Michael Roth wrote:
> Hi everyone,
>
> The following new patches are queued for QEMU stable v1.4.1:
>
> https://github.com/mdroth/qemu/commits/stable-1.4-staging
>
> The release is planned for 04-15-2013:
>
> http://wiki.qemu.org/Planning/1.4
>
> Please CC qemu-sta...@n
From: Gerd Hoffmann
Alex Williamson (3):
seabios q35: Enable all PIRQn IRQs at startup
seabios q35: Add new PCI slot to irq routing function
seabios: Add a dummy PCI slot to irq mapping function
Avik Sil (1):
USB-EHCI: Fix null pointer assignment
Kevin O'Connor (4):
From: Peter Maydell
The nature of the kernel ABI for the get_robust_list and set_robust_list
syscalls means we cannot implement them in QEMU. Make get_robust_list
silently return ENOSYS rather than using the default "print message and
then fail ENOSYS" code path, in the same way we already do for
From: John Rigby
Handle same as existing FUTEX_PRIVATE_FLAG.
Signed-off-by: John Rigby
Signed-off-by: Riku Voipio
(cherry picked from commit bfb669f39f2ecd854992924ced20b00163509043)
Signed-off-by: Michael Roth
---
linux-user/strace.c |6 ++
1 file changed, 6 insertions(+)
diff --g
From: Peter Maydell
If the guest passes us a bogus negative length for an iovec, fail
EINVAL rather than proceeding blindly forward. This fixes some of
the error cases tests for readv and writev in the LTP.
Signed-off-by: Peter Maydell
Reviewed-by: Richard Henderson
Signed-off-by: Riku Voipio
From: Christian Borntraeger
virtio-blk registers a vmstate change handler. Unfortunately this
handler is not unregistered on unplug, leading to some random
crashes if the system is restarted, e.g. via virsh reboot.
Lets unregister the vmstate change handler if the device is removed.
Signed-off-b
From: Mark Cave-Ayland
Commit 07a7484e5d713f1eb7c1c37b18a8ab0d56d88875 accidentally introduced a bug
in the initialisation of the second macio DMA device which could cause some
DMA operations to segfault QEMU.
CC: Andreas Färber
Signed-off-by: Mark Cave-Ayland
Acked-by: Andreas Färber
Signed-
From: David Gibson
Currently the spapr-vlan device does not supply a cleanup call for its
NetClientInfo structure. With current qemu versions, that leads to a SEGV
on exit, when net_cleanup() attempts to call the cleanup handlers on all
net clients.
Signed-off-by: David Gibson
Signed-off-by: A
From: Cornelia Huck
Verify that the virtio-ccw notify hypercall passed a reasonable
value for queue.
Cc: qemu-sta...@nongnu.org
Reported-by: Alexander Graf
Signed-off-by: Cornelia Huck
(cherry picked from commit b57ed9bf075e33cdd2f9eb545ff555301dd57221)
Signed-off-by: Michael Roth
---
hw/s3
From: Yeongkyoon Lee
is_tcg_gen_code() checks the upper limit of TCG generated code range wrong, so
that TCG could get broken occasionally only when CONFIG_QEMU_LDST_OPTIMIZATION
enabled. The reason is code_gen_buffer_max_size does not cover the upper range
up to (TCG_MAX_OP_SIZE * OPC_BUF_SIZE),
From: Paolo Bonzini
Otherwise, live migration of the top layer will miss zero clusters and
let the backing file show through. This also matches what is done in qed.
QCOW2_CLUSTER_ZERO clusters are invalid in v2 image files. Check this
directly in qcow2_get_cluster_offset instead of replicating
Hosts hold on to handles provided by guest-file-open for periods that can
span beyond the life of the qemu-ga process that issued them. Since these
are issued starting from 0 on every restart, we run the risk of issuing
duplicate handles after restarts/reboots.
As a result, users with a stale copy
From: David Gibson
Currently, for the pseries machine the device tree supplied by qemu to SLOF
and from there to the guest does not include a 'compatible property' at the
root level. Usually that works fine, since in this case the compatible
property doesn't really give any information not alrea
From: Christian Borntraeger
Enable all virtio-net features for the legacy s390 virtio bus. This also fixes
kernel BUG at
/usr/src/packages/BUILD/kernel-default-3.0.58/linux-3.0/drivers/s390/kvm/kvm_virtio.c:121!
Signed-off-by: Christian Borntraeger
Cc: qemu-sta...@nongnu.org
Signed-off-by: Ale
1 - 100 of 355 matches
Mail list logo