Re: [Qemu-devel] live migration vs device assignment (motivation)

2015-12-25 Thread Alexander Duyck
On Thu, Dec 24, 2015 at 11:03 PM, Lan Tianyu wrote: > Merry Christmas. > Sorry for later response due to personal affair. > > On 2015年12月14日 03:30, Alexander Duyck wrote: >>> > These sounds we need to add a faked bridge for migration and adding a >>> > driver in the guest for it. It also needs to

Re: [Qemu-devel] git send-email didn't arrive?

2015-12-25 Thread Peter Maydell
On 25 December 2015 at 14:42, Johan Ouwerkerk wrote: > Scratch this? It seems to have arrived just now, finally, having taken > a mere 16 hours and 4 minutes to get there... ? The GNU list servers occasionally get a bit overloaded and sit on mail for a while... thanks -- PMM

Re: [Qemu-devel] [PATCH v3 2/2] tests: update expected SSDT for floppy changes

2015-12-25 Thread Roman Kagan
On Thu, Dec 24, 2015 at 08:17:45AM +0200, Michael S. Tsirkin wrote: > On Wed, Dec 23, 2015 at 08:51:45PM +0300, Roman Kagan wrote: > > On Wed, Dec 23, 2015 at 06:47:16PM +0100, Igor Mammedov wrote: > > > On Wed, 23 Dec 2015 20:20:54 +0300 > > > Roman Kagan wrote: > > > > > ... two 1.44M drives wit

[Qemu-devel] [PATCH v4 4/4] i386: populate floppy drive information in SSDT

2015-12-25 Thread Roman Kagan
On x86-based systems Linux determines the presence and the type of floppy drives via a query of a CMOS field. So does SeaBIOS when populating the return data for int 0x13 function 0x08. Windows doesn't; instead, it requests this information from BIOS via int 0x13/0x08 or through ACPI objects _FDE

[Qemu-devel] [PATCH v4 3/4] expose floppy drive geometry and CMOS type

2015-12-25 Thread Roman Kagan
Make it possible to query the geometry and the CMOS type of a floppy drive outside of the respective source files. It will be useful, in particular, when dynamically building ACPI tables, and will allow to properly populate the corresponding ACPI objects and thus enable BIOS-less systems to access

[Qemu-devel] [PATCH v4 1/4] i386/pc: expose identifying the floppy controller

2015-12-25 Thread Roman Kagan
Factor out and expose the function to locate the floppy controller in the system. It will be useful when dynamically populating the relevant objects in the ACPI tables. Signed-off-by: Roman Kagan Cc: "Michael S. Tsirkin" Cc: Eduardo Habkost Cc: Igor Mammedov Cc: John Snow Cc: Kevin Wolf Cc:

[Qemu-devel] [PATCH v4 2/4] i386/acpi: make floppy controller object dynamic

2015-12-25 Thread Roman Kagan
Instead of statically declaring the floppy controller in DSDT, with its _STA method depending on some obscure bit in the parent ISA bridge, add the object dynamically to SSDT via AML API only when the controller is present. The _STA method is no longer necessary and is therefore dropped. So are t

[Qemu-devel] [PATCH v4 0/4] i386: expose floppy-related objects in SSDT

2015-12-25 Thread Roman Kagan
Windows on UEFI systems is only capable of detecting the presence and the type of floppy drives via corresponding ACPI objects. Those objects are added in the last patch of the series; the three preceding ones pave the way to it, by making the necessary data public and by moving the whole floppy d

[Qemu-devel] [Bug 1529187] Re: vfio passtrhough fails at 'No available IOMMU models' on Intel BDW-EP platform

2015-12-25 Thread Alex Williamson
You've somehow managed to not load the vfio_iommu_type1 module. The vfio module will request it when loading, if the module is not available when loading, such as from an initramfs that does not include the full set of vfio modules, it will need to be loaded later manually. -- You received this

Re: [Qemu-devel] git send-email didn't arrive?

2015-12-25 Thread Johan Ouwerkerk
Scratch this? It seems to have arrived just now, finally, having taken a mere 16 hours and 4 minutes to get there... ?

[Qemu-devel] git send-email didn't arrive?

2015-12-25 Thread Johan Ouwerkerk
Recently I attempted to post a patch to the qemu-devel mailing list through git send-email (as per the wiki) and while a copy of the e-mail has hit my inbox, it doesn't seem to have hit the mailing list judging by checking gmane. Something seems to have gone wrong. The subject of the mail was: [P

[Qemu-devel] [PATCH] Add missing syscall nrs. This updates the QEMU syscall tables to more recent Linux kernels.

2015-12-25 Thread Johan Ouwerkerk
This change covers arm, aarch64, mips. Others to follow? The change was prompted by QEMU warning about a syscall 384 (get_random()) with Debian armhf binaries (ARMv7). Signed-off-by: Johan Ouwerkerk --- linux-user/aarch64/syscall_nr.h | 13 + linux-user/arm/syscall_nr.h | 12 ++

[Qemu-devel] [PATCH v13 08/10] Implement new driver for block replication

2015-12-25 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie --- block/Makefile.objs | 1 + block/replication.c | 545 2 files changed, 546 insertions(+) create mode 100

[Qemu-devel] [PATCH v13 10/10] Add a new API to start/stop replication, do checkpoint to all BDSes

2015-12-25 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie --- block.c | 83 +++ include/block/block.h | 4 +++ 2 files changed, 87 insertions(+) diff --git a/

[Qemu-devel] [PATCH v13 05/10] docs: block replication's description

2015-12-25 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie --- docs/block-replication.txt | 227 + 1 file changed, 227 insertions(+) create mode 100644 docs/block-replication.txt

[Qemu-devel] [PATCH v13 06/10] Add new block driver interfaces to control block replication

2015-12-25 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie Cc: Luiz Capitulino Cc: Michael Roth Reviewed-by: Paolo Bonzini --- block.c | 43 +++ include/block/blo

[Qemu-devel] [PATCH v13 07/10] quorum: implement block driver interfaces for block replication

2015-12-25 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie Reviewed-by: Alberto Garcia --- block/quorum.c | 78 ++ 1 file changed, 78 insertions(+) diff --git a/bloc

[Qemu-devel] [PATCH v13 09/10] support replication driver in blockdev-add

2015-12-25 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie Reviewed-by: Eric Blake --- qapi/block-core.json | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/qapi/block-core.json b/q

[Qemu-devel] [PATCH v13 04/10] Allow creating backup jobs when opening BDS

2015-12-25 Thread Changlong Xie
From: Wen Congyang When opening BDS, we need to create backup jobs for image-fleecing. Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie Reviewed-by: Stefan Hajnoczi Reviewed-by: Jeff Cody --- block/Makefile.objs | 2 +- 1 file ch

[Qemu-devel] [PATCH v13 00/10] Block replication for continuous checkpoints

2015-12-25 Thread Changlong Xie
Block replication is a very important feature which is used for continuous checkpoints(for example: COLO). You can get the detailed information about block replication from here: http://wiki.qemu.org/Features/BlockReplication Usage: Please refer to docs/block-replication.txt This patch series is

[Qemu-devel] [PATCH v13 03/10] Backup: clear all bitmap when doing block checkpoint

2015-12-25 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie Reviewed-by: Jeff Cody --- block/backup.c | 14 ++ blockjob.c | 11 +++ include/block/blockjob.h | 12 3 f

[Qemu-devel] [PATCH v13 01/10] unblock backup operations in backing file

2015-12-25 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: Changlong Xie --- block.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/block.c b/block.c index b9e99da..1589c0d 100644 --- a/block.c +++ b/block.c @@ -1275,6 +1275,24 @@ void bdrv_set_backing_hd(BlockDrive

[Qemu-devel] [PATCH v13 02/10] Store parent BDS in BdrvChild

2015-12-25 Thread Changlong Xie
From: Wen Congyang We need to access the parent BDS to get the root BDS. Signed-off-by: Wen Congyang Signed-off-by: Changlong Xie --- block.c | 1 + include/block/block_int.h | 1 + 2 files changed, 2 insertions(+) diff --git a/block.c b/block.c index 1589c0d..c9c913e 10064

Re: [Qemu-devel] [PATCH v4 1/4] target-tilegx: Add floating point shared functions

2015-12-25 Thread Chen Gang
On 12/25/15 04:01, Richard Henderson wrote: > On 12/24/2015 07:38 AM, Chen Gang wrote: >> >> OK, thanks. Since fp_status need to be initialized to be 0, so I will >> declared it statically, too (need we consider about thread safe for it? >> I guess not). > > While qemu is not currently thread-saf

Re: [Qemu-devel] live migration vs device assignment (motivation)

2015-12-25 Thread Michael S. Tsirkin
On Fri, Dec 25, 2015 at 03:03:47PM +0800, Lan Tianyu wrote: > Merry Christmas. > Sorry for later response due to personal affair. > > On 2015年12月14日 03:30, Alexander Duyck wrote: > >> > These sounds we need to add a faked bridge for migration and adding a > >> > driver in the guest for it. It also

[Qemu-devel] [Bug 1529226] [NEW] qemu-i386-user on 32-bit Linux: uncaught target signal 11

2015-12-25 Thread PeteVine
Public bug reported: Even though the command I'm trying to run (a wrapper script for qemu-i386-user running rustc, the rust compiler) produces the expected compiled output, the build process is interrupted: qemu: uncaught target signal 11 (Segmentation fault) - core dumped i686-unknown-linux-gnu

[Qemu-devel] [PATCH v9 3/3] qmp: add monitor command to add/remove a child

2015-12-25 Thread Changlong Xie
From: Wen Congyang The new QMP command name is x-blockdev-change. It's just for adding/removing quorum's child now, and doesn't support all kinds of children, all kinds of operations, nor all block drivers. So it is experimental now. Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Sig

[Qemu-devel] [PATCH v9 1/3] Add new block driver interface to add/delete a BDS's child

2015-12-25 Thread Changlong Xie
From: Wen Congyang In some cases, we want to take a quorum child offline, and take another child online. Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie Reviewed-by: Eric Blake Reviewed-by: Alberto Garcia --- block.c

[Qemu-devel] [PATCH v9 0/3] qapi: child add/delete support

2015-12-25 Thread Changlong Xie
If quorum's child is broken, we can use mirror job to replace it. But sometimes, the user only need to remove the broken child, and add it later when the problem is fixed. ChangLog: v9: 1. Rebase to the newest codes 2. Remove redundant codes in quorum_add_child() and quorum_del_child() 3. Fix typo

[Qemu-devel] [PATCH v9 2/3] quorum: implement bdrv_add_child() and bdrv_del_child()

2015-12-25 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie --- block.c | 8 ++-- block/quorum.c| 122 +- include/block/block.h | 4 ++ 3 files change

[Qemu-devel] [Bug 1527765] Re: sh4: ghc randomly segfaults on qemu-sh4-static

2015-12-25 Thread John Paul Adrian Glaubitz
Interestingly, cmake also seems to crash in a similar way: - Log: https://buildd.debian.org/status/fetch.php?pkg=apt-cacher-ng&arch=sh4&ver=0.8.8-1&stamp=1450985460 - Log: https://buildd.debian.org/status/fetch.php?pkg=texworks&arch=sh4&ver=0.5~svn1363-6%2Bb1&stamp=1450992669 - Log: https://bui