From: Stefan Hajnoczi
Another step in moving the vlan feature out of net core. Users only
deal with NetClientState and therefore qemu_del_vlan_client() should be
named qemu_del_net_client().
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
---
hw/e1000.c |2 +-
hw/eepr
From: Zhi Yong Wu
Reviewed-by: Jan Kiszka
Signed-off-by: Zhi Yong Wu
---
net.c | 14 +-
net.h |1 +
net/hub.c | 23 +--
net/hub.h |1 +
4 files changed, 32 insertions(+), 7 deletions(-)
diff --git a/net.c b/net.c
index 61dc28d..6cedc7a 10
Anthony Liguori writes:
> On 05/29/2012 04:14 PM, Markus Armbruster wrote:
>> Luiz Capitulino writes:
>>
>>> On Mon, 28 May 2012 12:17:04 +0100
>>> Stefan Hajnoczi wrote:
>>>
What we need to decide is whether it's okay to drop QEMU "VLANs"
completely and change dump command-line synta
From: Zhi Yong Wu
The -net socket,listen option does not work with the newer -netdev
syntax:
http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg01508.html
This patch makes it work now.
For the case where one vlan has multiple listenning sockets,
the patch will also provide the support.
S
Anthony Liguori writes:
> On 06/03/2012 10:29 PM, Blue Swirl wrote:
>> v1: I only sent the tree URL.
>>
>> v2: Rebased. Updated 07/25: removed confused comment and split
>> sse_op_table3 so that void pointers are avoided there too, adjusted
>> 08/25 accordingly.
>>
>> The patch series most probab
Andreas Färber writes:
> Am 01.06.2012 13:18, schrieb Markus Armbruster:
>> Andreas Färber writes:
>>
>>> Am 31.05.2012 13:17, schrieb Igor Mammedov:
On 05/31/2012 12:16 PM, Paolo Bonzini wrote:
> Il 31/05/2012 10:30, Markus Armbruster ha scritto:
Makes much sense, but maybe i
Patch 1 Enhances SSI bus support to properly support multiple attached devices.
An api is provided for SSI/SPI masters to select a particular device attached
to the bus.
Patch 2 is a device model for the m25p80 style SPI flash chip.
Patch 3 is the Xilinx XPS SPI contoller. Its a sysbus device
Added support for multiple devices attached to a single SSI bus (Previously
SSI masters with multiple slaves were emulated as multiple point to point SSI
busses)
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v3:
added ssi_create_slave_noinit
changed from v2:
This patch is new (totally r
Added device model for m25p80 SPI flash
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v3:
changed licence to v2 or later (PMM review)
generalised device model - rather than being fixed to the fl064k, it can handle
a wide range of m25p80 devices
refactored erase commands (previously the
device model for xilinx XPS SPI controller (v2.0)
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v3:
typedef'd struct XilinxSPI
changed unsigned int -> uin32_t
removed unused vars (c_fifo_exist and cmd_ongoing)
txfifo_reset removed duplicate s->regs[R_SPISR] &= ~SR_TX_FULL (PMM review)
r
Setup the stellaris_ssi_bus device to use a single multi-slave ssi bus instead
of two busses.
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v3:
This patch is new
hw/stellaris.c | 17 +++--
1 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/hw/stellaris.c b/h
Regression tested using Paul Brooks test vector:
peterc@PetaLogix-ws2:~/Petalogix/Internal/plgx_install/qemu-upstream-regression/third-party/stellaris-test$
qemu-system-arm -M lm3s6965evb -serial stdio -kernel sd_card.bin -sd
sdcard.img
VNC server running on `127.0.0.1:5900'
SD Card Example Prog
Okay, thanks all of your comments, if no other comments, I will write
next version.
On Wed, May 30, 2012 at 4:20 PM, Stefan Hajnoczi wrote:
> On Wed, May 30, 2012 at 2:50 AM, Dong Xu Wang
> wrote:
>> On Tue, May 29, 2012 at 11:50 PM, Stefan Hajnoczi wrote:
>
> I thought a bit more about lockin
Added spi controller to the reference design, with a single cs line and a
m25p80 style spi-flash connected
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v3:
set spi flashes as being fl06k
changed from v2:
changed spi -> ssi
added two spi flashes to machine model instead of one
default
On Mon, Jun 04, 2012 at 01:23:10PM +0800, Zhi Yong Wu wrote:
> On Mon, Jun 4, 2012 at 12:51 PM, Anthony Liguori wrote:
> > On 06/04/2012 10:46 AM, zwu.ker...@gmail.com wrote:
> >>
> >> From: Zhi Yong Wu
> >>
> >> All comments from other guys were addressed.
> >
> >
> > v3 had review comments from
Applied this one, thanks Peter
Debian SID on x86.
Configure output:
Install prefix/usr/local
BIOS directory/usr/local/share/qemu
binary directory /usr/local/bin
library directory /usr/local/lib
include directory /usr/local/include
config directory /usr/local/etc
Manual directory /usr/local/share/man
ELF interp prefi
There are no external users for this function.
Signed-off-by: Jan Kiszka
---
hw/pci.c | 29 +++--
hw/pci.h |5 -
2 files changed, 11 insertions(+), 23 deletions(-)
diff --git a/hw/pci.c b/hw/pci.c
index 893f89c..33452ab 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -
Based on the original version by Michael Tsirkin: Instead of traversing
the PCI bus hierarchy from a device to the host bridge, cache this path
in PCIDevice and use it directly on interrupt delivery. This will
specifically pay off with more complex topologies than the current
single host bus.
Sign
So that we can move it unmodified without raising alarms. No functional
changes.
Signed-off-by: Jan Kiszka
---
hw/pci.c | 52
1 files changed, 28 insertions(+), 24 deletions(-)
diff --git a/hw/pci.c b/hw/pci.c
index 4d700a9..62ad61c 100644
On Sun, Jun 03, 2012 at 10:44:32PM +0200, Davide Ferraretto wrote:
> I'm in qemu-arm.
> tcg_qemu_tb_exec function is a macro:
> #define tcg_qemu_tb_exec(env, tb_ptr)\
> ((long REGPARM (*)(void *, void *))code_gen_prologue)(env, tb_ptr)
> #endif
QEMU treats
Extra info, the header exists, QEMU doesn't seems to find it, it's on
this place:
http://packages.debian.org/search?searchon=contents&keywords=int-
ll64.h&mode=exactfilename&suite=stable&arch=any
and provided by linux-libc-dev debian package.
How can I force configure to include this dir?
--
Y
On 05/30/12 10:41, Jan Kiszka wrote:
> Call msi_reset on device reset as still required by the core.
Acked-by: Gerd Hoffmann
cheers,
Gerd
Besides some smaller cleanups, this series has two main topics:
The first is the already posted PCI IRQ routing lookup and notifier. The
lookup has been based on the cached routing Michael suggested also for
emulated devices. However, this still introduces a new callback and
keeps the bus irq_coun
On Thu, May 31, 2012 at 9:07 PM, Ira Ray Jenkins
wrote:
> On Wed, May 30, 2012 at 10:30 AM, Laurent Desnogues
> wrote:
>> On Wed, May 30, 2012 at 3:20 AM, Peter Maydell
>> wrote:
>>> On 30 May 2012 02:00, Ira Ray Jenkins wrote:
What I would like is to be able to get the physical addresses
Am 03.06.2012 19:38, schrieb Blue Swirl:
> Convert uses of FLOPPY_ERROR to either FLOPPY_DPRINTF
> (for implemented cases) or to use LOG_UNIMP (unimplemented).
>
> Signed-off-by: Blue Swirl
I would suggest that you check the messages of those cases that became
FLOPPY_DPRINTF(). Originally the ma
Generalize qemu_parse_pci_devaddr by two flags so that it can be used
for parsing pci-devfn properties as well.
Signed-off-by: Jan Kiszka
---
hw/pci-hotplug.c |2 +-
hw/pci.c |3 ++-
hw/qdev-properties.c | 49 -
hw/qdev.h
To avoid confusion with the board-level IRQ the host bridge triggers on
output, rename the per-bridge routing function for the INTx pins to
pci_route_pin_fn. Also adjust variable names of that type. And
rename pci_bridge_map_irq to pci_bridge_prepare, which better reflects
the job of that function.
It's the more appropriate type as there are no negative domain or bus
values.
Signed-off-by: Jan Kiszka
---
hw/pci-hotplug.c |4 ++--
hw/pci.c | 11 ++-
hw/pci.h |4 ++--
3 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/hw/pci-hotplug.c b/hw/pci-h
This per-device notifier shall be triggered by any interrupt router
along the path of a device's legacy interrupt signal on routing changes.
For simplicity reasons and as this is a slow path anyway, no further
details on the routing changes are provided. Instead, the callback is
expected to use pci
Add a PCI IRQ path discovery function that walks from a given device to
the host bridge, returning the mode (enabled/inverted/disabled) and the
IRQ number that is reported to the attached interrupt controller. For
this purpose, another host bridge callback function is introduced:
route_intx_to_irq.
This type encapsulates everything from domain to function. Use it first
to simplify the pci_parse_devaddr interface.
Signed-off-by: Jan Kiszka
---
hw/pci-hotplug.c | 29 ++---
hw/pci.c | 31 ++-
hw/pci.h |6 --
qemu-
This patch implements postcopy live migration for incoming part
Signed-off-by: Isaku Yamahata
---
Changes v3 -> v4:
- fork umemd early to address qemu devices touching guest ram via
post/pre_load
- code clean up on initialization
- Makefile.target
migration-postcopy.c is target dependent due
Align the bus traversal in pci_change_irq_level to other functions. They
use PCIBus:parent_dev to detect the root.
Signed-off-by: Jan Kiszka
---
hw/pci.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/pci.c b/hw/pci.c
index c1ebdde..893f89c 100644
--- a/hw/pci
We will some use this function also for property parsing, so move it
over unmodified and rename it.
Signed-off-by: Jan Kiszka
---
hw/pci-hotplug.c |2 +-
hw/pci.c | 67 +-
hw/pci.h |5 ---
hw/qdev-properties.c
Signed-off-by: Isaku Yamahata
---
arch_init.c | 21 -
exec.c | 12 ++--
2 files changed, 14 insertions(+), 19 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 9981abe..73bf250 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -432,11 +432,10 @@ void *ram
QEMU may want to disable guest's S3/S4 support and it wants to distinguish
between regular powerdown and S4 powerdown. To support that new fw_cfg
option was added that passes supported system states and what value should
guest use to enter each state. States are passed in 6 byte array. Each
byte re
Am 22.05.2012 18:17, schrieb Paolo Bonzini:
> This is an alternative implementation of writethrough caching. By always
> opening protocols in writethrough mode and doing flushes manually after
> every write, it achieves two results: 1) it makes flipping the cache mode
> extremely easy; 2) it lets
Signed-off-by: Isaku Yamahata
---
qemu-file.h |1 +
savevm.c| 12
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/qemu-file.h b/qemu-file.h
index 331ac8b..98a8023 100644
--- a/qemu-file.h
+++ b/qemu-file.h
@@ -71,6 +71,7 @@ QEMUFile *qemu_fopen_socket(int fd
Signed-off-by: Isaku Yamahata
---
scripts/update-linux-headers.sh |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 9d2a4bc..2afdd54 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-li
This patch factors out buffer management logic.
Signed-off-by: Isaku Yamahata
---
buffered_file.c | 141 +-
buffered_file.h |8 +++
2 files changed, 94 insertions(+), 55 deletions(-)
diff --git a/buffered_file.c b/buffered_file.c
index a3
Signed-off-by: Isaku Yamahata
---
cpu-all.h |2 ++
exec.c| 51 +--
2 files changed, 31 insertions(+), 22 deletions(-)
diff --git a/cpu-all.h b/cpu-all.h
index 028528f..ff7f827 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -508,6 +508,8 @@ ext
Signed-off-by: Isaku Yamahata
---
hmp-commands.hx | 15 ++-
hmp.c|3 +++
migration.c | 20
migration.h |2 ++
qapi-schema.json |3 ++-
5 files changed, 37 insertions(+), 6 deletions(-)
diff --git a/hmp-commands.hx b/hmp-comm
After the long time, we have v2. This is qemu part.
The linux kernel part is sent separatedly.
Changes v1 -> v2:
- split up patches for review
- buffered file refactored
- many bug fixes
Espcially PV drivers can work with postcopy
- optimization/heuristic
Patches
1 - 30: refactoring exsiting co
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 753addb..48a8f68 100644
--- a/migration.c
+++ b/migration.c
@@ -159,7 +159,7 @
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(+), 0 deletions(-)
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index ac35bcc..265ba2f 100644
-
Signed-off-by: Isaku Yamahata
---
arch_init.c | 67 +-
arch_init.h |1 +
2 files changed, 39 insertions(+), 29 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index c861e30..bb0cd52 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -4
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.
Signed-off-by: Isaku Yamahata
---
buffered_file.c | 20 +++-
Signed-off-by: Isaku Yamahata
---
exec-obsolete.h |1 +
exec.c |4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/exec-obsolete.h b/exec-obsolete.h
index 792c831..fb21dd7 100644
--- a/exec-obsolete.h
+++ b/exec-obsolete.h
@@ -25,6 +25,7 @@
#ifndef CONFIG_U
This is used by postcopy live migration.
Signed-off-by: Isaku Yamahata
---
buffered_file.c | 50 ++
buffered_file.h | 10 ++
2 files changed, 60 insertions(+), 0 deletions(-)
diff --git a/buffered_file.c b/buffered_file.c
index 5198923
When page is requested, send surrounding pages are also sent.
Signed-off-by: Isaku Yamahata
---
migration-postcopy.c | 56 +
1 files changed, 51 insertions(+), 5 deletions(-)
diff --git a/migration-postcopy.c b/migration-postcopy.c
index eb37094
Add enable/disable postcopy mode. No dynamic test yet.
Signed-off-by: Isaku Yamahata
---
configure | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 1f338f8..21de4cb 100755
--- a/configure
+++ b/configure
@@ -194,6 +194,7 @@ zlib="ye
Those constants will be also used by postcopy.
Signed-off-by: Isaku Yamahata
---
arch_init.c |7 ---
arch_init.h |7 +++
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 38e0173..bd4e61e 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -
On 05/26/2012 04:20 AM, Amit Shah wrote:
On (Fri) 25 May 2012 [15:00:53], Anthony Liguori wrote:
On 05/25/2012 02:32 PM, Amit Shah wrote:
The Linux kernel already has a virtio-rng driver, this is the device
implementation.
When the guest asks for entropy from the virtio hwrng, it puts a buffer
This is Linux kernel driver for qemu/kvm postcopy live migration.
This is used by qemu/kvm postcopy live migration patch.
TODO:
- Consider FUSE/CUSE option
So far several mmap patches for FUSE/CUSE are floating around. (their
purpose isn't different from our purpose, though). They haven't merg
fd is already stored in QEMUFile so drop duplicated member
QEMUFileSocket::fd.
Signed-off-by: Isaku Yamahata
---
savevm.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/savevm.c b/savevm.c
index ec9f5d0..4b560b3 100644
--- a/savevm.c
+++ b/savevm.c
@@ -189,7 +189,6 @
Introduce MigrationParams for parameters of migration.
Cc: Orit Wasserman
Cc: Juan Quintela
Signed-off-by: Isaku Yamahata
---
Changes v1 -> v2:
- catch up qapi change
---
block-migration.c |8
migration.c | 21 +++--
migration.h |8 ++--
qemu-
The latter is an internal helper for PCI hotplug. So move it where it
belongs - before someone misuses it - and export the more versatile
pci_parse_devaddr instead.
Signed-off-by: Jan Kiszka
---
hw/pci-hotplug.c | 18 --
hw/pci.c | 19 ++-
hw/pci.h
Later the structure will be shared.
Signed-off-by: Isaku Yamahata
---
savevm.c | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/savevm.c b/savevm.c
index 4b560b3..2fb0c3e 100644
--- a/savevm.c
+++ b/savevm.c
@@ -187,14 +187,14 @@ typedef struct QEMUFileStdio
The following changes since commit 8cc9b43f7c5f826b39af4b012ad89bb55faac29c:
target-microblaze: lwx/swx: first implementation (2012-06-04 10:19:46 +0200)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git for-anthony
Josh Durgin (1):
rbd: hook up cache options
Kev
From: Zhi Yong Wu
Commit 3948d1d4 removed the pointer argument we filled in with l2_offset
but forgot to remove the unnecessary l2_offset assignment.
Signed-off-by: Zhi Yong Wu
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
block/qcow2-cluster.c |1 -
1 files changed, 0 inser
Signed-off-by: Isaku Yamahata
---
Chnages v1 -> v2:
- don't refer last_block which can be NULL.
And avoid possible infinite loop.
---
arch_init.c | 82 +-
arch_init.h |1 +
2 files changed, 48 insertions(+), 35 deletions(-)
diff --
From: Paolo Bonzini
Either FIEMAP, or SEEK_DATA+SEEK_HOLE can be used to implement the
is_allocated callback for raw files. On Linux ext4, btrfs and XFS
all support it.
Signed-off-by: Paolo Bonzini
Signed-off-by: Kevin Wolf
---
block/raw-posix.c | 98 +++
From: MORITA Kazutaka
Signed-off-by: MORITA Kazutaka
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
block/sheepdog.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/block/sheepdog.c b/block/sheepdog.c
index f46ca8f..8877f45 100644
--- a/block/sheep
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
Signed-off-by: Isaku Yamahata
---
arch_init.c | 21 ++---
migration.h |1 +
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 36ece1d..28e5abb 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -287,6 +287,19 @@ void sort_ram_list(voi
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 v1 -> v2:
- code simplification
- make fault trigger more robust
- introduce struct umem_pages
---
umem.c | 364 +++
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
block/qcow2-refcount.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/block/qcow2-refcount.c b/block/qcow2-refcount.c
index 812c93c..443c021 100644
--- a/block/qc
Signed-off-by: Isaku Yamahata
---
arch_init.c | 28
migration.h |1 +
2 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 900cc8e..c861e30 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -311,9 +311,23 @@ void ram_save_
Signed-off-by: Isaku Yamahata
---
arch_init.c | 25 ++---
arch_init.h |7 +++
2 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 2a53f58..36ece1d 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -374,21 +374,22 @@ int ram_sav
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|4 ++--
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index bd4e61e..2a53f58 1006
This will be used by postcopy.
Signed-off-by: Isaku Yamahata
---
arch_init.c |4 ++--
migration.h |2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index a9e8b74..38e0173 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -164,7 +164,7 @@ static i
This patch prepares for postcopy livemigration.
It introduces -postcopy option and its internal flag, migration_postcopy.
It introduces -postcopy-flags for chaging the behavior of incoming postcopy
mainly for benchmark/debug.
Signed-off-by: Isaku Yamahata
---
migration.h |3 +++
qemu-opt
Signed-off-by: Isaku Yamahata
---
buffered_file.c | 115 +++
buffered_file.h | 13 ++
2 files changed, 128 insertions(+), 0 deletions(-)
diff --git a/buffered_file.c b/buffered_file.c
index 22dd4c9..5198923 100644
--- a/buffered_file.c
+
Signed-off-by: Isaku Yamahata
---
hmp-commands.hx |5 +++--
hmp.c|3 ++-
migration.c |8 +++-
migration.h |1 +
qapi-schema.json |2 +-
qmp-commands.hx |2 +-
savevm.c |1 +
7 files changed, 16 insertions(+), 6 deletions(-)
diff --g
From: Paolo Bonzini
Signed-off-by: Paolo Bonzini
Signed-off-by: Kevin Wolf
---
block.c| 49 +
block.h|4
block/stream.c | 53 ++---
3 files changed, 55 insertions(+), 51
From: Markus Armbruster
Signed-off-by: Markus Armbruster
Reviewed-by: Anthony Liguori
Signed-off-by: Kevin Wolf
---
hw/fdc.c | 20
hw/fdc.h | 24 ++--
hw/ide/piix.c |3 ++-
hw/isa.h |2 --
hw/pc_sysfw.c |1 +
qemu-common.
Added -p option to migrate command for postcopy mode and
introduce postcopy parameter for migration to indicate that postcopy mode
is enabled.
Add -n option for postcopy migration which indicates disabling background
transfer.
Signed-off-by: Isaku Yamahata
---
Chnages v1 -> v2:
- catch up for qap
Wrong patch :(
On Mon, Jun 04, 2012 at 01:17:11PM +0300, Gleb Natapov wrote:
> QEMU may want to disable guest's S3/S4 support and it wants to distinguish
> between regular powerdown and S4 powerdown. To support that new fw_cfg
> option was added that passes supported system states and what value s
This patch adds two things. First it allows QEMU to distinguish between
regular powerdown and S4 powerdown. Later separate QMP notification will
be added for S4 powerdown. Second it allows S3/S4 states to be disabled
from QEMU command line. Some guests known to be broken with regards to
power manag
Signed-off-by: Isaku Yamahata
---
arch_init.c | 13 -
arch_init.h |1 +
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 2617478..22d9691 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -203,6 +203,12 @@ int ram_save_page(QEMUFile *f,
Signed-off-by: Isaku Yamahata
---
arch_init.c | 13 +
arch_init.h |1 +
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index bb0cd52..9981abe 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -397,6 +397,19 @@ int ram_save_live(QEMUFile *f,
Introduce nonblocking fd read backend of QEMUFile.
This will be used by postcopy live migration.
Signed-off-by: Isaku Yamahata
---
qemu-file.h |1 +
savevm.c| 40
2 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/qemu-file.h b/qemu
Signed-off-by: Isaku Yamahata
---
linux-headers/linux/umem.h | 42 ++
1 files changed, 42 insertions(+), 0 deletions(-)
create mode 100644 linux-headers/linux/umem.h
diff --git a/linux-headers/linux/umem.h b/linux-headers/linux/umem.h
new file mode 1006
When any inconsistencies have been fixed, print the statistics and run
another check to make sure everything is correct now.
Signed-off-by: Kevin Wolf
---
block.h |2 ++
block/qed-check.c |2 ++
qemu-img.c| 10 ++
3 files changed, 14 insertions(+), 0 deletions
This will be used later by postcopy migration.
Signed-off-by: Isaku Yamahata
---
qemu-file.h |1 +
savevm.c|5 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/qemu-file.h b/qemu-file.h
index a285bef..880ef4b 100644
--- a/qemu-file.h
+++ b/qemu-file.h
@@ -91,6 +91
Those will be used by postcopy.
Signed-off-by: Isaku Yamahata
---
qemu-file.h |3 +++
savevm.c|6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/qemu-file.h b/qemu-file.h
index 31b83f6..a285bef 100644
--- a/qemu-file.h
+++ b/qemu-file.h
@@ -88,6 +88,9 @@ void q
The QED block driver already provides the functionality to not only
detect inconsistencies in images, but also fix them. However, this
functionality cannot be manually invoked with qemu-img, but the
check happens only automatically during bdrv_open().
This adds a -r switch to qemu-img check that a
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 |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/savevm.c b/savevm.c
index 318ec61..3adabad 100644
--- a/
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
---
migration-postcopy.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/migration-postcopy.c b/migration-postcopy.c
index 61656
Now qemu_file_fd() replaces qemu_stdio_fd().
Signed-off-by: Isaku Yamahata
---
migration-exec.c |4 ++--
migration-fd.c |2 +-
qemu-file.h |1 -
savevm.c | 12
4 files changed, 3 insertions(+), 16 deletions(-)
diff --git a/migration-exec.c b/migration-e
Signed-off-by: Kevin Wolf
---
block/qcow2-refcount.c | 31 +++
block/qcow2.c |6 +-
block/qcow2.h |3 ++-
3 files changed, 30 insertions(+), 10 deletions(-)
diff --git a/block/qcow2-refcount.c b/block/qcow2-refcount.c
index 443c021..354
Signed-off-by: Isaku Yamahata
---
arch_init.c | 24
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 73bf250..2617478 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -155,8 +155,9 @@ static int is_dup_page(uint8_t *page)
}
From: Paolo Bonzini
Make the code reusable.
Signed-off-by: Paolo Bonzini
Signed-off-by: Kevin Wolf
---
block/stream.c | 31 +---
include/qemu/ratelimit.h | 48 ++
2 files changed, 50 insertions(+), 29 deletions(
From: Josh Durgin
Writeback caching was added in Ceph 0.46, and writethrough will be in
0.47. These are controlled by general config options, so there's no
need to check for librbd version.
Signed-off-by: Josh Durgin
Signed-off-by: Kevin Wolf
---
block/rbd.c | 19 +++
1 file
Signed-off-by: Isaku Yamahata
---
migration.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/migration.c b/migration.c
index 3f485d3..753addb 100644
--- a/migration.c
+++ b/migration.c
@@ -367,7 +367,6 @@ static MigrationState *migrate_init(int blk, int inc)
int64_t
From: Paolo Bonzini
is_allocated_base has complex semantics that are not really usable
outside streaming. Split the check in two parts, where the allocated
state for the top bs is moved to the caller. The resulting function
is more generally useful.
Signed-off-by: Paolo Bonzini
Signed-off-by:
Add a property to receive a fully qualified PCI device address.
Will be used by KVM device assignment.
Signed-off-by: Jan Kiszka
---
hw/qdev-properties.c | 48
hw/qdev.h|3 +++
2 files changed, 51 insertions(+), 0 deletions(-)
This patch implements postcopy live migration for outgoing part
Signed-off-by: Isaku Yamahata
---
Changes v1 -> v2:
- fix parameter to qemu_fdopen()
- handle QEMU_UMEM_REQ_EOC properly
when PO_STATE_ALL_PAGES_SENT, QEMU_UMEM_REQ_EOC request was ignored.
handle properly it.
- flush on-demand p
Can you include the output of 'make V=1'?
Do you have custom kernel headers installed? Is it possible that you
installed them without sanitizing them first?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/
1 - 100 of 303 matches
Mail list logo