On Mon, Oct 29, 2012 at 5:41 PM, Avi Kivity wrote:
> On 10/29/2012 01:48 AM, Liu Ping Fan wrote:
>> Without biglock, we try to protect the mr by increase refcnt.
>> If we can inc refcnt, go backward and resort to biglock.
>>
>> Another point is memory radix-tree can be flushed by another
>> thread
On 10/29/12 15:08, Peter Crosthwaite wrote:
> Ping!
>
> This is the first version of the EHCI sysbus series which takes a
> property based approach rather than the dynamic class approach.
>
> No refactoring of the PCI stuff is done here (introduced v2) but
> following on from the discussion on IR
Juan Quintela writes:
> Markus Armbruster wrote:
>> Juan Quintela writes:
>>
>>> Move all the writes to the migration_thread, and make writings
>>> blocking. Notice that are still using the iothread for everything
>>> that we do.
>> [...]
>>> diff --git a/qemu-sockets.c b/qemu-sockets.c
>>> in
Il 30/10/2012 01:53, q...@buildbot.b1-systems.de ha scritto:
> The Buildbot has detected a new failure on builder default_mingw32 while
> building qemu.
> Full details are available at:
> http://buildbot.b1-systems.de/qemu/builders/default_mingw32/builds/420
>
> Buildbot URL: http://buildbot.b1-
Il 29/10/2012 19:29, Aurelien Jarno ha scritto:
> On Mon, Oct 29, 2012 at 06:53:14PM +0100, Paolo Bonzini wrote:
>> > Known-good commit: 8473f377393219390ea6f2d8d450a2b054bb823e
>> > Known-bad commit: d262cb02861dd33375c08fc798930653b14769e9
>> >
>> > i386-softmmu seems to work. I may try to bise
Markus Armbruster wrote:
> Juan Quintela writes:
>
>> Markus Armbruster wrote:
>>> Juan Quintela writes:
>>>
Move all the writes to the migration_thread, and make writings
blocking. Notice that are still using the iothread for everything
that we do.
>>> [...]
diff --git a/q
On Tue, Oct 30, 2012 at 5:20 PM, Gerd Hoffmann wrote:
> On 10/29/12 15:08, Peter Crosthwaite wrote:
>> Ping!
>>
>> This is the first version of the EHCI sysbus series which takes a
>> property based approach rather than the dynamic class approach.
>>
>> No refactoring of the PCI stuff is done here
On 2012-10-28 13:26, Blue Swirl wrote:
> Signed-off-by: Blue Swirl
> ---
> slirp/misc.c | 14 --
> slirp/misc.h |1 -
> 2 files changed, 0 insertions(+), 15 deletions(-)
>
> diff --git a/slirp/misc.c b/slirp/misc.c
> index 0bee864..664532a 100644
> --- a/slirp/misc.c
> +++ b/sl
On Mon, Oct 29, 2012 at 03:09:37PM +0100, Peter Lieven wrote:
> Hi,
Bug subject should be virtio-blk, not virtio-scsi. virtio-scsi is a
different virtio device type from virtoi-blk and is not present in the
backtrace you posted.
Sounds pedantic but I want to make sure this gets chalked up agains
This is read counter part of qemu_write_full().
Signed-off-by: Isaku Yamahata
---
osdep.c | 24
qemu-common.h |2 ++
2 files changed, 26 insertions(+)
diff --git a/osdep.c b/osdep.c
index 3b25297..416ffe1 100644
--- a/osdep.c
+++ b/osdep.c
@@ -261,6 +261,30
Those constants will be also used by postcopy.
Signed-off-by: Isaku Yamahata
---
arch_init.c |8
arch_init.h |8
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index a312434..4b65221 100644
--- a/arch_init.c
+++ b/arch_init.c
@@
Signed-off-by: Isaku Yamahata
---
migration.c |1 -
1 file changed, 1 deletion(-)
diff --git a/migration.c b/migration.c
index 62e0304..8fcb466 100644
--- a/migration.c
+++ b/migration.c
@@ -460,7 +460,6 @@ static MigrationState *migrate_init(const MigrationParams
*params)
sizeo
Precopy with this loop number before postcopy mode.
This will be implemented by the next patch.
Signed-off-by: Isaku Yamahata
---
hmp-commands.hx | 10 ++
hmp.c|2 ++
migration-postcopy.c |2 +-
migration.c |2 ++
migration.h |3 ++
Signed-off-by: Isaku Yamahata
---
arch_init.c | 11 ---
arch_init.h |1 +
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index f86a0b4..48f45cd 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -633,7 +633,7 @@ static int ram_save_setup(QEMUFile
This is a character device to hook page access.
The page fault in the area is propagated to another user process by
this chardriver. Then, the process fills the page contents and
resolves the page fault.
Cc: Andrea Arcangeli
Cc: Avi Kivity
Cc: Paolo Bonzini
Signed-off-by: Isaku Yamahata
---
C
This patch implements postcopy live migration for outgoing part
Signed-off-by: Isaku Yamahata
---
Changes v2 -> v3:
- modify savevm_ram_handlers instead of if (postcopy)
- code simplification
Changes v1 -> v2:
- fix parameter to qemu_fdopen()
- handle QEMU_UMEM_REQ_EOC properly
when PO_STATE_A
This is for benchmark purpose
Signed-off-by: Isaku Yamahata
---
hmp-commands.hx | 10 ++
hmp.c|4 +++-
migration-postcopy.c |7 +++
migration.c |4 +++-
migration.h |1 +
qapi-schema.json |2 +-
qmp-commands.hx |
This is Linux kernel driver for qemu/kvm postcopy live migration.
This is used by qemu/kvm postcopy live migration patch.
User process backed memory driver provides /dev/uvmem device.
This /dev/uvmem device is designed for some sort of distributed shared memory.
page fault in the area backed by th
Don't explode QEMUMachineInitArgs before passing it to the common
versatile init function.
Signed-off-by: Peter Maydell
---
hw/versatilepb.c | 44 +++-
1 file changed, 11 insertions(+), 33 deletions(-)
diff --git a/hw/versatilepb.c b/hw/versatilepb.c
in
From: Peter Crosthwaite
QOMified the pflash_cfi0x so machine models can connect them up in custom ways.
Kept the pflash_cfi0x_register functions as is. They can still be used to
create a flash straight onto system memory.
Signed-off-by: Peter Crosthwaite
Reviewed-by: Peter Maydell
Signed-off-
Signed-off-by: Isaku Yamahata
---
arch_init.c | 10 +++---
arch_init.h |1 +
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index d95ce7b..9137013 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -416,6 +416,12 @@ static void migration_bitmap_sync(
Use LOG_GUEST_ERROR to report guest attempts to access bad register offsets.
Signed-off-by: Peter Maydell
---
hw/pl061.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/pl061.c b/hw/pl061.c
index 7d182e7..f1ed5ce 100644
--- a/hw/pl061.c
+++ b/hw/pl061.c
@@ -164,7
Don't explode QEMUMachineInitArgs before passing it to the vexpress
common init function.
Signed-off-by: Peter Maydell
---
hw/vexpress.c | 38 +-
1 file changed, 9 insertions(+), 29 deletions(-)
diff --git a/hw/vexpress.c b/hw/vexpress.c
index 3f7cb66..d93f
From: Igor Mitsyanko
Standard capacity cards SDSC use byte unit address while SDHC and SDXC cards use
block unit address (512 bytes) when setting ERASE_START and ERASE_END with CMD32
and CMD33, we have to account for this.
Signed-off-by: Igor Mitsyanko
Reviewed-by: Peter Maydell
Signed-off-by:
arch_init: factor out counting transferred bytes.
This will be used by postcopy.
Signed-off-by: Isaku Yamahata
---
Changes v2 -> v3:
- manual rebase
- report ram_save_block
Chnages v1 -> v2:
- don't refer last_block which can be NULL.
And avoid possible infinite loop.
---
arch_init.c | 122 +
Il 30/10/2012 05:43, H. Peter Anvin ha scritto:
> Let me be more specific.
>
> First of all, feeding /dev/urandom to the guest is dangerous -- you are
> feeding it PRNG contents but telling it that it is real entropy. This
> is a security hole.
>
> Second of all, you're doing something pointless
Those will be used by postcopy.
Signed-off-by: Isaku Yamahata
---
qemu-file.h |4
savevm.c|8
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/qemu-file.h b/qemu-file.h
index 9c8985b..9b6dd08 100644
--- a/qemu-file.h
+++ b/qemu-file.h
@@ -72,6 +72,7 @@ QEM
Signed-off-by: Isaku Yamahata
---
arch_init.c |6 ++--
migration-postcopy.c | 94 +++---
migration.h |1 +
3 files changed, 94 insertions(+), 7 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 49fbaff..f9bd483 10064
ram_load_page() will be used by postcopy.
Signed-off-by: Isaku Yamahata
---
Changes v2 -> v3:
- new
---
arch_init.c | 137 +++
arch_init.h |3 ++
2 files changed, 74 insertions(+), 66 deletions(-)
diff --git a/arch_init.c b/arch_init.
Signed-off-by: Isaku Yamahata
---
arch_init.c | 31 ---
arch_init.h |1 +
exec.c | 12 ++--
3 files changed, 27 insertions(+), 17 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index c77e24d..d82316d 100644
--- a/arch_init.c
+++ b/arch_init.c
Don't explode QEMUMachineInitArgs before calling common init function.
Signed-off-by: Peter Maydell
---
hw/spitz.c | 45 ++---
1 file changed, 10 insertions(+), 35 deletions(-)
diff --git a/hw/spitz.c b/hw/spitz.c
index 944c274..12e2815 100644
--- a/hw/
Use LOG_GUEST_ERROR to report guest accesses to bad offsets.
Signed-off-by: Peter Maydell
---
hw/arm11mpcore.c |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/arm11mpcore.c b/hw/arm11mpcore.c
index 105f158..640ed20 100644
--- a/hw/arm11mpcore.c
+++ b/hw/arm11mpco
On 30.10.2012 09:32, Stefan Hajnoczi wrote:
On Mon, Oct 29, 2012 at 03:09:37PM +0100, Peter Lieven wrote:
Hi,
Bug subject should be virtio-blk, not virtio-scsi. virtio-scsi is a
different virtio device type from virtoi-blk and is not present in the
backtrace you posted.
you are right, sorry f
Don't explode QEMUMachineInitArgs before passing it to
exynos4_boards_init_common().
Signed-off-by: Peter Maydell
---
hw/exynos4_boards.c | 32 +++-
1 file changed, 11 insertions(+), 21 deletions(-)
diff --git a/hw/exynos4_boards.c b/hw/exynos4_boards.c
index 49510
Use LOG_UNIMP to report attempts to use the unimplemented test mode.
Signed-off-by: Peter Maydell
---
hw/pl190.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/pl190.c b/hw/pl190.c
index 213229b..4019930 100644
--- a/hw/pl190.c
+++ b/hw/pl190.c
@@ -199,7 +199,7 @@ stat
On Mon, Oct 29, 2012 at 06:34:37PM +0200, Avi Kivity wrote:
> On 10/29/2012 01:37 AM, John Williams wrote:
>
> >> IMO, an mr per reg would just add a massive overhead for no win.
> >
> > I tend to agree with Edgar here - QEMU has a careful line to walk between
> > being an emulator and an RTL si
Ping?
(patchwork url http://patchwork.ozlabs.org/patch/193125/)
thanks
-- PMM
On 22 October 2012 13:54, Peter Maydell wrote:
> Recent kernels have moved to keeping the userspace headers
> in uapi/ subdirectories. This breaks the detection of whether an
> architecture has KVM support in the kern
Add virtio-scsi and non-virtio devices.
Signed-off-by: Gerd Hoffmann
---
pci-ids.txt | 17 -
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/pci-ids.txt b/pci-ids.txt
index 73125a8..a2bf6f7 100644
--- a/pci-ids.txt
+++ b/pci-ids.txt
@@ -20,8 +20,9 @@ VirtIO Devi
Use LOG_GUEST_ERROR to report guest accesses to invalid register
offsets.
Signed-off-by: Peter Maydell
---
hw/pl110.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/pl110.c b/hw/pl110.c
index 82486b0..d5472f4 100644
--- a/hw/pl110.c
+++ b/hw/pl110.c
@@ -349,7 +34
On 10/29/2012 10:32 AM, Peter Maydell wrote:
> On 29 October 2012 06:35, Peter Crosthwaite
> wrote:
>> Device model for Primecell PL330 dma controller.
>
> A general question -- this is a DMA controller so should it be using
> the DMAContext APIs now? Avi?
IOMMU functionality will be folded into
Use LOG_GUEST_ERROR and LOG_UNIMP rather than hw_error() where
appropriate.
Signed-off-by: Peter Maydell
---
hw/armv7m_nvic.c | 31 +++
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/hw/armv7m_nvic.c b/hw/armv7m_nvic.c
index 8d8d0a4..f0a2e7b 100644
Don't explode QEMUMachineInitArgs in every realview init
function; just pass it to the common realview_init() code
instead.
Signed-off-by: Peter Maydell
---
hw/realview.c | 68 -
1 file changed, 19 insertions(+), 49 deletions(-)
diff --g
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-char
This patch implements postcopy live migration for incoming part
Signed-off-by: Isaku Yamahata
---
Changes v2 -> v3:
- threading, not fork
- use blocking io instead of select + non-blocking io
- don't modify RAMBlock
- When device allocates its own RAM region, e.g. vshmem, it's handled by
device
When page is requested, send surrounding pages are also sent.
Signed-off-by: Isaku Yamahata
---
hmp-commands.hx | 15 -
hmp.c|3 +++
migration-postcopy.c | 57 +-
migration.c | 20
Use LOG_GUEST_ERROR to report bad guest accesses.
Signed-off-by: Peter Maydell
---
hw/arm_sysctl.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/hw/arm_sysctl.c b/hw/arm_sysctl.c
index 26318e1..58eb982 100644
--- a/hw/arm_sysctl.c
+++ b/hw/arm_sysctl.c
@@ -184,7
This is the v3 patch series of postcopy migration.
The trees is available at
git://github.com/yamahata/qemu.git qemu-postcopy-oct-30-2012
git://github.com/yamahata/linux-umem.git linux-umem-oct-29-2012
Major changes v2 -> v3:
- implemented pre+post optimization
- auto detection of postcopy by inc
Introduce a new method to drain the buffer of QEMUBufferedFile.
When postcopy migration, buffer size can increase unboundedly.
To keep the buffer size reasonably small, introduce the method to
wait for buffer to drain.
Detect unfreeze output by select too, not only by timer, thus pending data
can b
Signed-off-by: Isaku Yamahata
---
arch_init.c | 13 ++---
arch_init.h |3 +++
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 9137013..f86a0b4 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -867,7 +867,9 @@ int ram_load_page(QEMUFile *f
This is used by postcopy to tell the total length of QEMU_VM_SECTION_FULL
and QEMU_VM_SUBSECTION from outgoing to incoming.
Signed-off-by: Isaku Yamahata
---
savevm.c |4
1 file changed, 4 insertions(+)
diff --git a/savevm.c b/savevm.c
index 93c51ab..c93b6eb 100644
--- a/savevm.c
+++ b
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(-)
diff
On 10/28/2012 10:35 AM, Orit Wasserman wrote:
> On 10/26/2012 01:39 PM, Juan Quintela wrote:
>> Orit Wasserman wrote:
>>> On 10/18/2012 09:30 AM, Juan Quintela wrote:
Instead of testing each page individually, we search what is the next
dirty page with a bitmap operation. We have to reo
Signed-off-by: Isaku Yamahata
---
linux-headers/linux/uvmem.h | 41 +++
scripts/update-linux-headers.sh |2 +-
2 files changed, 42 insertions(+), 1 deletion(-)
create mode 100644 linux-headers/linux/uvmem.h
diff --git a/linux-headers/linux/uvmem.h b
Added -p option to migrate command for postcopy mode and
introduce postcopy parameter for migration to indicate that postcopy mode
is enabled.
Signed-off-by: Isaku Yamahata
---
Chnages v1 -> v2:
- catch up for qapi change
---
hmp-commands.hx | 10 ++
hmp.c|4 +++-
migr
From: Andre Beckus
Implement byte/halfword read and write for the NVIC SCB_SHPRx
(System Handler Priority Registers). Do this by removing SHPR word access
from nvic_readl/writel and adding common code to hande all access
sizes in nvic_sysreg_read/write.
Because the "nvic_state *s" variable now
From: Peter Crosthwaite
This field is completely unused. The base address should also be abstracted
away from the device anyway. Removed.
Signed-off-by: Peter Crosthwaite
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/pflash_cfi01.c |2 --
hw/pflash_cfi02.c |4 +---
2
This will be used by postcopy/incoming part.
Signed-off-by: Isaku Yamahata
---
qemu-file.h |4
savevm.c| 60 +++
2 files changed, 64 insertions(+)
diff --git a/qemu-file.h b/qemu-file.h
index 94557ea..452efcd 100644
--- a/qe
Use LOG_GUEST_ERROR to report guest accesses to bad offsets.
Signed-off-by: Peter Maydell
---
hw/arm_gic.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/hw/arm_gic.c b/hw/arm_gic.c
index ce16e83..f9e423f 100644
--- a/hw/arm_gic.c
+++ b/hw/arm_gic.c
@@ -324,7
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| 15
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 form, is
differe
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| 1
Those migration bitmap operation will be used by postcopy.
Signed-off-by: Isaku Yamahata
---
arch_init.c |7 ++-
migration.h |2 ++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch_init.c b/arch_init.c
index 48f45cd..49fbaff 100644
--- a/arch_init.c
+++ b/arch_init.
Introduce fd read/write backend of QEMUFile whose fd can be non-blocking
This will be used by postcopy live migration.
Signed-off-by: Isaku Yamahata
---
qemu-file.h |1 +
savevm.c| 35 +++
2 files changed, 36 insertions(+)
diff --git a/qemu-file.h b/qem
Use LOG_GUEST_ERROR to report guest accesses to bad register
offsets, and LOG_UNIMP for access to the unimplemented
test registers.
Signed-off-by: Peter Maydell
---
hw/arm_timer.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/hw/arm_timer.c b/hw/arm_t
- add qemu_file_fd() for later use
- drop qemu_stdio_fd
Now qemu_file_fd() replaces qemu_stdio_fd().
- savevm/QEMUFileSocket: drop duplicated member fd
fd is already stored in QEMUFile so drop duplicated member
QEMUFileSocket::fd.
- remove QEMUFileSocket
Signed-off-by: Isaku Yamahata
---
On 10/30/12 09:24, Peter Crosthwaite wrote:
> On Tue, Oct 30, 2012 at 5:20 PM, Gerd Hoffmann wrote:
>> On 10/29/12 15:08, Peter Crosthwaite wrote:
>>> Ping!
>>>
>>> This is the first version of the EHCI sysbus series which takes a
>>> property based approach rather than the dynamic class approach.
Introduce RAM_SAVE_VERSION_ID to represent version_id for ram save format.
Signed-off-by: Isaku Yamahata
---
arch_init.c |2 +-
arch_init.h |2 ++
vl.c|3 ++-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 4b65221..23717d3 10064
Don't explode QEMUMachineInitArgs before passing it to mainstone_init().
Signed-off-by: Peter Maydell
---
hw/mainstone.c | 21 +++--
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/hw/mainstone.c b/hw/mainstone.c
index 3266946..5bbecb7 100644
--- a/hw/mainstone.c
This patch introduces helper function for postcopy to access
umem char device and to communicate between incoming-qemu and umemd.
Signed-off-by: Isaku Yamahata
---
changes v2 -> v3:
- error check, don't abort
- typedef
- #ifdef CONFIG_LINUX
- code simplification
changes v1 -> v2:
- code simplifi
Don't explode QEMUMachineInitArgs before passing it to n8x0_init().
Signed-off-by: Peter Maydell
---
hw/nseries.c | 39 +++
1 file changed, 11 insertions(+), 28 deletions(-)
diff --git a/hw/nseries.c b/hw/nseries.c
index 9306aa1..652d9da 100644
--- a/hw/nse
From: Peter Crosthwaite
This DPRINTF was throwing a warning due to a missing cast.
Signed-off-by: Peter Crosthwaite
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/pflash_cfi01.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/pflash_cfi01.c b/hw/pf
Signed-off-by: Isaku Yamahata
---
migration-postcopy.c | 207 +-
1 file changed, 204 insertions(+), 3 deletions(-)
diff --git a/migration-postcopy.c b/migration-postcopy.c
index 421fb39..9298cd4 100644
--- a/migration-postcopy.c
+++ b/migration-po
From: Peter Crosthwaite
This field is completely unused.
Signed-off-by: Peter Crosthwaite
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/pflash_cfi01.c |2 --
1 file changed, 2 deletions(-)
diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c
index 2e29f8a..b532054 100644
MADV_REMOVE will be used by postcopy.
Signed-off-by: Isaku Yamahata
---
osdep.h | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/osdep.h b/osdep.h
index c5fd3d9..9e97f39 100644
--- a/osdep.h
+++ b/osdep.h
@@ -113,6 +113,11 @@ void qemu_vfree(void *ptr);
#else
From: Umesh Deshpande
From: Umesh Deshpande
This will be used to detect if last_block might have become invalid
across different calls to ram_save_live.
Signed-off-by: Paolo Bonzini
Signed-off-by: Umesh Deshpande
---
arch_init.c |7 ++-
cpu-all.h |1 +
exec.c |5 -
Don't explode QEMUMachineInitArgs before passing it to the
omap_sx1 common init function.
Signed-off-by: Peter Maydell
---
hw/omap_sx1.c | 36 +---
1 file changed, 9 insertions(+), 27 deletions(-)
diff --git a/hw/omap_sx1.c b/hw/omap_sx1.c
index eb2bf05..21a5bb
Use LOG_GUEST_ERROR and LOG_UNIMP in preference to hw_error().
Signed-off-by: Peter Maydell
---
hw/pl080.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/hw/pl080.c b/hw/pl080.c
index 6abe528..26150af 100644
--- a/hw/pl080.c
+++ b/hw/pl080.c
@@ -281,7 +281,8 @@
This will be used by postcopy.
Signed-off-by: Isaku Yamahata
---
Changes v2 -> v3:
- new
---
arch_init.c | 25 ++---
migration.h |2 ++
2 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index ad1b01b..7e6d84e 100644
--- a/arch_ini
This patch series attempts to add new char backend CirMemCharDriver with
a circular buffer and expose it to users by introducing QMP interface
memchar-write and memchar-read and via the command line like the other
CharDriverStates.
Serial ports in qemu always use CharDriverStates as there backends
Juan Quintela writes:
> Markus Armbruster wrote:
>> Juan Quintela writes:
>>
>>> Markus Armbruster wrote:
Juan Quintela writes:
> Move all the writes to the migration_thread, and make writings
> blocking. Notice that are still using the iothread for everything
> that we
Cc: Andrea Arcangeli
Cc: Avi Kivity
Cc: Paolo Bonzini
Signed-off-by: Isaku Yamahata
---
mm/memcontrol.c |1 +
mm/mempolicy.c |1 +
mm/shmem.c |1 +
3 files changed, 3 insertions(+)
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 7acf43b..bc9fd53 100644
--- a/mm/memcontr
Use LOG_GUEST_ERROR to report bad guest accesses.
Signed-off-by: Peter Maydell
---
hw/arm_l2x0.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/arm_l2x0.c b/hw/arm_l2x0.c
index 8f5921c..6abf0ee 100644
--- a/hw/arm_l2x0.c
+++ b/hw/arm_l2x0.c
@@ -87,7 +87,8 @@ stat
missing %
s/ram_save_live/ram_save_iterate/
Signed-off-by: Isaku Yamahata
---
arch_init.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch_init.c b/arch_init.c
index e6effe8..79d4041 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -659,7 +659,7 @@ static int ram_save_ite
Use LOG_GUEST_ERROR for reporting guest attempts to access invalid register
offsets.
Signed-off-by: Peter Maydell
---
hw/pl050.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/pl050.c b/hw/pl050.c
index 470572e..47032f1 100644
--- a/hw/pl050.c
+++ b/hw/pl050.c
@@
This will be used by postcopy migration.
Signed-off-by: Isaku Yamahata
---
migration.c |4 ++--
migration.h |2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/migration.c b/migration.c
index 8fcb466..00b0bc2 100644
--- a/migration.c
+++ b/migration.c
@@ -242,7 +242,7 @
When movebg mode is enabled, the point to send background page is set
to the next page to on-demand page.
Signed-off-by: Isaku Yamahata
---
hmp-commands.hx |8 +---
hmp.c|3 ++-
migration-postcopy.c |8
migration.c |5 -
migration.h
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 | 34
From: Umesh Deshpande
From: Umesh Deshpande
Add the new mutex that protects shared state between ram_save_live
and the iothread. If the iothread mutex has to be taken together
with the ramlist mutex, the iothread shall always be _outside_.
Signed-off-by: Paolo Bonzini
Signed-off-by: Umesh De
Use LOG_GUEST_ERROR to report bad guest accesses.
Signed-off-by: Peter Maydell
---
hw/versatile_i2c.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/versatile_i2c.c b/hw/versatile_i2c.c
index 44e7e40..ad71e9d 100644
--- a/hw/versatile_i2c.c
+++ b/hw/versatile_i2c
Markus Armbruster wrote:
> Juan Quintela writes:
>
> Doesn't this break inet_nonblocking_connect() and
> unix_nonblocking_connect()?
>
> In your cover letter, you wrote:
>
> Note: Writes has become blocking, and I have to change the "remove"
> the feature n
Last arm-devs pullreq (probably) before softfreeze. Apologies to those
whose last minute patches didn't make it in but I didn't want to submit
this pullreq right on the freeze deadline, given its length. (Most of
that length is some pretty trivial patches for logging and refactoring
some init funct
From: Igor Mitsyanko
This patch updates SD card model to support save/load of card's state.
Signed-off-by: Igor Mitsyanko
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/sd.c | 89 +--
1 file changed, 64 insertions(
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 +++
Add support for saving/loading bitmap.h bitmaps in vmstate.
Signed-off-by: Peter Maydell
Tested-by: Igor Mitsyanko
Reviewed-by: Juan Quintela
---
savevm.c | 41 +
vmstate.h | 13 +
2 files changed, 54 insertions(+)
diff --git a/savevm.c
From: Paolo Bonzini
From: Paolo Bonzini
Outside the execution threads the normal, non-MRU-ized order of
the RAM blocks should always be enough. So manage two separate
lists, which will have separate locking rules.
Signed-off-by: Paolo Bonzini
---
arch_init.c |1 +
cpu-all.h |4 +++
From: Peter Crosthwaite
Pull the DMAContext for the PCI DMA out at device init time and put it into
the device state. Use dma_memory_read/write() instead of pci specific versions.
Signed-off-by: Peter Crosthwaite
Signed-off-by: Gerd Hoffmann
---
hw/usb/hcd-ehci.c | 13 -
1 files
Hi,
Based on Peters series, not tested much yet, sysfs dropped but adding
back in should be as easy as adding a hcd-ehci-sysbus.c file simliar
to the pci variant. No changes in ehci core should be needed.
Comments?
cheers,
Gerd
Gerd Hoffmann (1):
usb/ehci: split into multiple source file
From: Peter Crosthwaite
Seperate the PCI stuff from the EHCI components. Extracted the PCIDevice
out into a new wrapper struct to make EHCIState non-PCI-specific. Seperated
tho non PCI init component out into a seperate "common" init function.
Signed-off-by: Peter Crosthwaite
Signed-off-by: Ger
From: Peter Crosthwaite
Guard against re-definition of EHCI_DEBUG. Allows for turning on of debug info
from configure (using --qemu-extra-cflags="-DEHCI_DEBUG=1") rather than source
code hacking.
Signed-off-by: Peter Crosthwaite
Signed-off-by: Gerd Hoffmann
---
hw/usb/hcd-ehci.c |2 ++
1
Signed-off-by: Gerd Hoffmann
---
hw/usb/Makefile.objs |2 +-
hw/usb/hcd-ehci-pci.c | 138
hw/usb/hcd-ehci.c | 426 +
hw/usb/hcd-ehci.h | 320 +
4 files changed, 462 insertions(+),
1 - 100 of 339 matches
Mail list logo