Re: [Qemu-devel] [PATCH COLO-Frame (Base) v21 00/17] COarse-grain LOck-stepping(COLO) Virtual Machines for Non-stop Service (FT)

2016-10-26 Thread Hailiang Zhang
On 2016/10/27 11:52, Amit Shah wrote: On (Wed) 26 Oct 2016 [23:52:48], Hailiang Zhang wrote: Hi Amit, On 2016/10/26 16:26, Amit Shah wrote: On (Wed) 26 Oct 2016 [14:43:30], Hailiang Zhang wrote: Hi Amit, On 2016/10/26 14:09, Amit Shah wrote: Hello, On (Tue) 18 Oct 2016 [20:09:56],

Re: [Qemu-devel] [PATCH v2 5/6] target-ppc: add vprtyb[w/d/q] instructions

2016-10-26 Thread Richard Henderson
On 10/26/2016 08:47 PM, David Gibson wrote: > +void helper_vprtybq(ppc_avr_t *r, ppc_avr_t *b) > +{ > +int i; > +uint8_t s = 0; > +for (i = 0; i < 16; i++) { > +s ^= (b->u8[i] & 1); > +} > +r->u64[LO_IDX] = (!s) ? 0 : 1; > +r->u64[HI_IDX] = 0; > +} > + I think

[Qemu-devel] [Bug 588803] Re: Image corruption during snapshot creation/deletion

2016-10-26 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/588803 Title: Image

Re: [Qemu-devel] [PATCH v2 3/6] target-ppc: add vrldnmi and vrlwmi instructions

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 11:56:26AM +0530, Nikunj A Dadhania wrote: > From: "Gautham R. Shenoy" > > vrldmi: Vector Rotate Left Dword then Mask Insert > vrlwmi: Vector Rotate Left Word then Mask Insert > > Signed-off-by: Gautham R. Shenoy >

[Qemu-devel] [Bug 588731] Re: PXE boot not working

2016-10-26 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/588731 Title: PXE boot

[Qemu-devel] [Bug 424450] Re: FDC reset should reset the MSR

2016-10-26 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/424450 Title: FDC reset

[Qemu-devel] [Bug 642304] Re: Solaris/x86 v10 hangs under KVM

2016-10-26 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/642304 Title: Solaris/x86

[Qemu-devel] [Bug 602336] Re: bad network performance with 10Gbit

2016-10-26 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/602336 Title: bad network

Re: [Qemu-devel] [PATCH v2 5/6] target-ppc: add vprtyb[w/d/q] instructions

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 11:56:28AM +0530, Nikunj A Dadhania wrote: > From: Ankit Kumar > > Add following POWER ISA 3.0 instructions. > vprtybw: Vector Parity Byte Word > vprtybd: Vector Parity Byte Double Word > vprtybq: Vector Parity Byte Quad Word > > Signed-off-by:

[Qemu-devel] [Bug 1315747] Re: Qemu on Windows

2016-10-26 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1315747 Title: Qemu on

[Qemu-devel] [Bug 1033494] Re: qemu-system-x86_64 segfaults with kernel 3.5.0

2016-10-26 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1033494 Title:

[Qemu-devel] [Bug 588735] Re: Quit command not working

2016-10-26 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/588735 Title: Quit

Re: [Qemu-devel] [PATCH v2 0/6] spapr: dedicated hotplug events and memory unplug support

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 04:59:19PM -0500, Michael Roth wrote: > This series is based on David's ppc-for-2.8 branch, and is also available > from: > > https://github.com/mdroth/qemu/commits/spapr-hotplug-event-update Applied to ppc-for-2.8. > > Changes since v1: > * Rebased on latest

[Qemu-devel] [Bug 1298442] Re: build problem in qemu-2.0.0-rc0 No rule to make target `trace/generated-events.h'

2016-10-26 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1298442 Title: build

Re: [Qemu-devel] [PATCH v2 1/6] target-ppc: add xscmp[eq, gt, ge, ne]dp instructions

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 11:56:24AM +0530, Nikunj A Dadhania wrote: > From: Sandipan Das > > xscmpeqdp: VSX Scalar Compare Equal Double-Precision > xscmpgedp: VSX Scalar Compare Greater Than or Equal Double-Precision > xscmpgtdp: VSX Scalar Compare Greater Than

Re: [Qemu-devel] [PATCH qemu] configure, ppc64: Copy skiboot.lid to build directory when configuring

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 01:18:03PM +1100, Alexey Kardashevskiy wrote: > When configured to compile out of tree, the configure script > copies BIOS blobs to the build directory. However since the PPC64 powernv > machine ROM has .lid extension, it is ignored and "make check" fails > when trying the

Re: [Qemu-devel] [Qemu-ppc] [PATCH 14/15] target-ppc: Use tcg_gen_extract_*

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 08:38:06AM -0700, Richard Henderson wrote: > On 10/25/2016 07:59 PM, David Gibson wrote: > > On Sat, Oct 15, 2016 at 08:37:49PM -0700, Richard Henderson wrote: > >> Use the new primitives for RDWINM and RLDICL. > >> > >> Cc: qemu-...@nongnu.org > >> Signed-off-by: Richard

[Qemu-devel] [Bug 1090558] Re: hw/mc146818: error reading RTC_HOURS_ALARM

2016-10-26 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1090558 Title:

Re: [Qemu-devel] [PATCH v5 11/17] ppc/xics: Add "native" XICS subclass

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 09:13:18AM +0200, Cédric Le Goater wrote: > On 10/25/2016 07:08 AM, David Gibson wrote: > > On Sat, Oct 22, 2016 at 11:46:44AM +0200, Cédric Le Goater wrote: > >> This provides access to the MMIO based Interrupt Presentation > >> Controllers (ICP) as found on a POWER8

Re: [Qemu-devel] [PATCH v2 6/6] target-ppc: Add xvcmpnesp, xvcmpnedp instructions

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 11:56:29AM +0530, Nikunj A Dadhania wrote: > From: Swapnil Bokade > > xvcmpnedp[.]: VSX Vector Compare Not Equal Double-Precision > xvcmpnesp[.]: VSX Vector Compare Not Equal Single-Precision > > Signed-off-by: Swapnil Bokade

Re: [Qemu-devel] [PATCH v5 13/17] ppc/xics: add a xics_get_cpu_index_by_pir helper

2016-10-26 Thread David Gibson
On Tue, Oct 25, 2016 at 12:58:11PM +0200, Cédric Le Goater wrote: > On 10/25/2016 07:36 AM, David Gibson wrote: > > On Sat, Oct 22, 2016 at 11:46:46AM +0200, Cédric Le Goater wrote: > >> We will need this helper to translate the server number of the XIVE > >> (which is a PIR) into an ICPState

Re: [Qemu-devel] [PATCH v2 2/6] bitops: fix rol/ror when shift is zero

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 08:20:10AM -0700, Richard Henderson wrote: > On 10/25/2016 11:26 PM, Nikunj A Dadhania wrote: > > All the variants for rol/ror have a bug in case where the shift == 0. > > For example rol32, would generate: > > > > return (word << 0) | (word >> 32); > > > > Which

Re: [Qemu-devel] [PATCH v2 4/6] target-ppc: add vrldnm and vrlwnm instructions

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 11:56:27AM +0530, Nikunj A Dadhania wrote: > From: Bharata B Rao > > vrldnm: Vector Rotate Left Doubleword then AND with Mask > vrlwnm: Vector Rotate Left Word then AND with Mask > > Signed-off-by: Bharata B Rao >

Re: [Qemu-devel] [PATCH 0/2] ppc: Allow "-prom-env" parameter for the pseries machine, too

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 09:35:39AM +0200, Thomas Huth wrote: > Here's a slightly updated version of the patch that enables the "-prom-env" > parameter for the pseries machine. The code is now only executed if > nb_prom_envs > 0. That means if the user did _not_ specify a "-prom-env" > parameter,

Re: [Qemu-devel] [PATCH] 1/4] target-ppc: Implement bcdcfn. instruction

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 11:18:55AM -0200, Jose Ricardo Ziviani wrote: > bcdcfn. converts from National numeric format to BCD. National format > uses a byte to represent a digit where the most significant nibble is > always 0x3 and the least sign. nibbles is the digit itself. > > Signed-off-by:

Re: [Qemu-devel] [PATCH v2 17/18] target-ppc: Use the new deposit and extract ops

2016-10-26 Thread David Gibson
On Tue, Oct 18, 2016 at 08:10:30AM -0700, Richard Henderson wrote: > Use the new primitives for RDWINM and RLDICL. > > Signed-off-by: Richard Henderson Reviewed-by: David Gibson > --- > target-ppc/translate.c | 35

Re: [Qemu-devel] [PATCH] 2/4] target-ppc: Implement bcdctn. instruction

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 11:18:56AM -0200, Jose Ricardo Ziviani wrote: > bcdctn. converts from BCD to National numeric format. National format > uses a byte to represent a digit where the most significant nibble is > always 0x3 and the least sign. nibbles is the digit itself. > > Signed-off-by:

[Qemu-devel] [PATCH v2 2/3] exec.c: check memory backend file size with 'size' option

2016-10-26 Thread Haozhong Zhang
If the memory backend file is not large enough to hold the required 'size', Qemu will report error and exit. Signed-off-by: Haozhong Zhang --- exec.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/exec.c b/exec.c index a2b371a..264a25f 100644 --- a/exec.c

[Qemu-devel] [PATCH v2 3/3] hostmem-file: make option 'size' optional

2016-10-26 Thread Haozhong Zhang
If 'size' option is not given, Qemu will use the file size of 'mem-path' instead. If an empty file, a non-existing file or a directory is specified by option 'mem-path', a non-zero option 'size' is still needed. Signed-off-by: Haozhong Zhang --- backends/hostmem-file.c

Re: [Qemu-devel] [PATCH] 4/4] target-ppc: Implement bcdctz. instruction

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 11:18:58AM -0200, Jose Ricardo Ziviani wrote: > bcdctz. converts from BCD to Zoned numeric format. Zoned format uses > a byte to represent a digit where the most significant nibble is 0x3 > or 0xf, depending on the preferred signal. > > Signed-off-by: Jose Ricardo Ziviani

Re: [Qemu-devel] [PATCH] 3/4] target-ppc: Implement bcdcfz. instruction

2016-10-26 Thread David Gibson
On Wed, Oct 26, 2016 at 11:18:57AM -0200, Jose Ricardo Ziviani wrote: > bcdcfz. converts from Zoned numeric format to BCD. Zoned format uses > a byte to represent a digit where the most significant nibble is 0x3 > or 0xf, depending on the preferred signal. > > Signed-off-by: Jose Ricardo Ziviani

[Qemu-devel] [PATCH v2 0/3] Improve truncation behavior of memory-backend-file

2016-10-26 Thread Haozhong Zhang
For a mmeory backend file, e.g. -object memory-backend-file,mem-path=foo,size=SZ,... the size of the backend file 'foo' is specified by the 'size' option. If the specified size 'SZ' does not match the actual size of file 'foo', QEMU will truncate the backend file 'foo'. In certain usage

[Qemu-devel] [PATCH v2 1/3] exec.c: do not truncate non-empty memory backend file

2016-10-26 Thread Haozhong Zhang
For '-object memory-backend-file,mem-path=foo,size=xyz', if the size of file 'foo' does not match the given size 'xyz', the current QEMU will truncate the file to the given size, which may corrupt the existing data in that file. To avoid such data corruption, this patch disables truncating

Re: [Qemu-devel] [PATCH COLO-Frame (Base) v22 17/17] configure: Support enable/disable COLO feature

2016-10-26 Thread Amit Shah
On (Wed) 26 Oct 2016 [23:42:10], zhanghailiang wrote: > configure --enable-colo/--disable-colo to switch COLO > support on/off. > > COLO feature doesn't depend on any other external librariesis, typo: libraries Amit

Re: [Qemu-devel] [PATCH COLO-Frame (Base) v22 14/17] COLO: Implement the process of failover for primary VM

2016-10-26 Thread Amit Shah
On (Wed) 26 Oct 2016 [23:42:07], zhanghailiang wrote: > For primary side, if COLO gets failover request from users. > To be exact, gets 'x_colo_lost_heartbeat' command. > COLO thread will exit the loop while the failover BH does the > cleanup work and resumes VM. > > Signed-off-by: zhanghailiang

Re: [Qemu-devel] [PATCH COLO-Frame (Base) v22 10/17] COLO: Add checkpoint-delay parameter for migrate-set-parameters

2016-10-26 Thread Amit Shah
On (Wed) 26 Oct 2016 [23:42:03], zhanghailiang wrote: > Add checkpoint-delay parameter for migrate-set-parameters, so that > we can control the checkpoint frequency when COLO is in periodic mode. > > Cc: Luiz Capitulino > Cc: Eric Blake > Cc: Markus

Re: [Qemu-devel] [PATCH COLO-Frame (Base) v22 03/17] migration: Enter into COLO mode after migration if COLO is enabled

2016-10-26 Thread Amit Shah
On (Wed) 26 Oct 2016 [23:41:56], zhanghailiang wrote: > Add a new migration state: MIGRATION_STATUS_COLO. Migration source side > enters this state after the first live migration successfully finished > if COLO is enabled by command 'migrate_set_capability x-colo on'. > > We reuse migration

Re: [Qemu-devel] [PATCH COLO-Frame (Base) v21 03/17] migration: Enter into COLO mode after migration if COLO is enabled

2016-10-26 Thread Amit Shah
On (Wed) 26 Oct 2016 [21:49:10], Hailiang Zhang wrote: > On 2016/10/26 12:50, Amit Shah wrote: > >On (Tue) 18 Oct 2016 [20:09:59], zhanghailiang wrote: > >>Add a new migration state: MIGRATION_STATUS_COLO. Migration source side > >>enters this state after the first live migration successfully

Re: [Qemu-devel] [PATCH COLO-Frame (Base) v21 05/17] COLO: Establish a new communicating path for COLO

2016-10-26 Thread Amit Shah
On (Wed) 26 Oct 2016 [22:05:22], Hailiang Zhang wrote: > On 2016/10/26 13:06, Amit Shah wrote: > >On (Tue) 18 Oct 2016 [20:10:01], zhanghailiang wrote: > >>This new communication path will be used for returning messages > >>from Secondary side to Primary side. > >> > >>Signed-off-by: zhanghailiang

Re: [Qemu-devel] [PATCH COLO-Frame (Base) v21 17/17] configure: Support enable/disable COLO feature

2016-10-26 Thread Amit Shah
On (Wed) 26 Oct 2016 [08:42:27], Eric Blake wrote: > On 10/26/2016 01:07 AM, Amit Shah wrote: > > On (Tue) 18 Oct 2016 [20:10:13], zhanghailiang wrote: > >> configure --enable-colo/--disable-colo to switch COLO > >> support on/off. > >> COLO feature is enabled by default. > >> > >> Signed-off-by:

Re: [Qemu-devel] [PATCH COLO-Frame (Base) v21 00/17] COarse-grain LOck-stepping(COLO) Virtual Machines for Non-stop Service (FT)

2016-10-26 Thread Amit Shah
On (Wed) 26 Oct 2016 [23:52:48], Hailiang Zhang wrote: > Hi Amit, > > On 2016/10/26 16:26, Amit Shah wrote: > >On (Wed) 26 Oct 2016 [14:43:30], Hailiang Zhang wrote: > >>Hi Amit, > >> > >>On 2016/10/26 14:09, Amit Shah wrote: > >>>Hello, > >>> > >>>On (Tue) 18 Oct 2016 [20:09:56], zhanghailiang

Re: [Qemu-devel] [PATCH v5 4/9] record/replay: add network support

2016-10-26 Thread Jason Wang
On 2016年09月26日 16:08, Pavel Dovgalyuk wrote: This patch adds support of recording and replaying network packets in irount rr mode. Record and replay for network interactions is performed with the network filter. Each backend must have its own instance of the replay filter as follows:

Re: [Qemu-devel] [PATCH v1] block/vxhs: Add Veritas HyperScale VxHS block device support

2016-10-26 Thread Buddhi Madhav
On 10/25/16, 9:41 PM, "Jeff Cody" wrote: >On Tue, Oct 25, 2016 at 03:02:07PM -0700, Ashish Mittal wrote: >> This patch adds support for a new block device type called "vxhs". >> Source code for the library that this code loads can be downloaded from: >>

[Qemu-devel] "block: use aio_bh_schedule_oneshot" breaks ibm-vscsi

2016-10-26 Thread Alexey Kardashevskiy
Hi, I just discovered that fffb6e12233002c26c0ee9ff92fa87927cd779f2 broke ibm-vscsi, the guest booting stops (I waited for a minute) at: [0.809286] ibmvscsi 7101: SRP_VERSION: 16.a [0.809766] ibmvscsi 7101: Maximum ID: 64 Maximum LUN: 32 Maximum Channel: 3 [0.810059] scsi

Re: [Qemu-devel] [PATCH 1/4] e1000e: Use regular DEFINE_PROP_ macros for properties

2016-10-26 Thread Jason Wang
On 2016年10月27日 03:21, Eduardo Habkost wrote: Instead of hacking custom PropertyInfo structs, use the regular DEFINE_PROP_ macros for the e1000e properties. This also fixes a bug in the disable_vnet_hdr property definition, that was using qdev_prop_uint8 for a bool field. Signed-off-by:

[Qemu-devel] [PATCH v3 3/6] spapr: add hotplug interrupt machine options

2016-10-26 Thread Michael Roth
This adds machine options of the form: -machine pseries,modern-hotplug-events=true -machine pseries,modern-hotplug-events=false If false, QEMU will force the use of "legacy" style hotplug events, which are surfaced through EPOW events instead of a dedicated hot plug event source, and lack

[Qemu-devel] [PATCH v3 6/6] spapr: Memory hot-unplug support

2016-10-26 Thread Michael Roth
From: Bharata B Rao Add support to hot remove pc-dimm memory devices. Since we're introducing a machine-level unplug_request hook, we also had handling for CPU unplug there as well to ensure CPU unplug continues to work as it did before. Signed-off-by: Bharata B Rao

[Qemu-devel] [PATCH v3 4/6] spapr: Add DRC count indexed hotplug identifier type

2016-10-26 Thread Michael Roth
From: Bharata B Rao Add support for DRC count indexed hotplug ID type which is primarily needed for memory hot unplug. This type allows for specifying the number of DRs that should be plugged/unplugged starting from a given DRC index. Signed-off-by: Bharata B Rao

[Qemu-devel] [PATCH v3 5/6] spapr: use count+index for memory hotplug

2016-10-26 Thread Michael Roth
Commit 0a417869: spapr: Move memory hotplug to RTAS_LOG_V6_HP_ID_DRC_COUNT type dropped per-DRC/per-LMB hotplugs event in favor of a bulk add via a single LMB count value. This was to avoid overrunning the guest EPOW event queue with hotplug events. This works fine, but relies on the guest

[Qemu-devel] [PATCH v3 1/6] spapr: update spapr hotplug documentation

2016-10-26 Thread Michael Roth
This updates the existing documentation to reflect recent updates to the hotplug event structure, which are in draft form but slated for inclusion in PAPR/LoPAPR. Signed-off-by: Michael Roth Reviewed-by: David Gibson ---

[Qemu-devel] [PATCH v3 0/6] spapr: dedicated hotplug events and memory unplug support

2016-10-26 Thread Michael Roth
This series is based on David's ppc-for-2.8 branch, and is also available from: https://github.com/mdroth/qemu/commits/spapr-hotplug-event-update Changes since v2: * Rebased on latest ppc-for-2.8 * Fix silly screw up with Reviewed-by attributions Changes since v1: * Rebased on latest

[Qemu-devel] [PATCH v3 2/6] spapr_events: add support for dedicated hotplug event source

2016-10-26 Thread Michael Roth
Hotplug events were previously delivered using an EPOW interrupt and were queued by linux guests into a circular buffer. For traditional EPOW events like shutdown/resets, this isn't an issue, but for hotplug events there are cases where this buffer can be exhausted, resulting in the loss of

Re: [Qemu-devel] [PATCH v2 05/17] target-m68k: add dbcc

2016-10-26 Thread Richard Henderson
On 10/26/2016 05:42 PM, Laurent Vivier wrote: Signed-off-by: Laurent Vivier --- target-m68k/translate.c | 25 + 1 file changed, 25 insertions(+) Reviewed-by: Richard Henderson r~

Re: [Qemu-devel] [PATCH v2 04/17] target-m68k: add addressing modes to scc

2016-10-26 Thread Richard Henderson
On 10/26/2016 05:42 PM, Laurent Vivier wrote: Signed-off-by: Laurent Vivier --- target-m68k/translate.c | 40 1 file changed, 20 insertions(+), 20 deletions(-) Reviewed-by: Richard Henderson r~

Re: [Qemu-devel] [PATCH v2 03/17] target-m68k: add exg ops

2016-10-26 Thread Richard Henderson
On 10/26/2016 05:42 PM, Laurent Vivier wrote: Suggested-by: Richard Henderson Signed-off-by: Laurent Vivier --- target-m68k/translate.c | 30 ++ 1 file changed, 30 insertions(+) Reviewed-by: Richard Henderson

Re: [Qemu-devel] [PATCH v2 00/20] dataplane: remove RFifoLock

2016-10-26 Thread Fam Zheng
On Wed, 10/19 08:55, Fam Zheng wrote: > Reviewed-by: Fam Zheng FWIW in merging it: Acked-by: Fam Zheng

Re: [Qemu-devel] [PATCH v1] block/vxhs: Add Veritas HyperScale VxHS block device support

2016-10-26 Thread Jeff Cody
On Wed, Oct 26, 2016 at 09:33:30PM +, Buddhi Madhav wrote: > > > On 10/25/16, 9:41 PM, "Jeff Cody" wrote: > > >On Tue, Oct 25, 2016 at 03:02:07PM -0700, Ashish Mittal wrote: > >> This patch adds support for a new block device type called "vxhs". > >> Source code for the

[Qemu-devel] [PATCH] linux-user: manage two new IFLA host message types

2016-10-26 Thread Laurent Vivier
Add QEMU_IFLA_GSO_MAX_SEGS and QEMU_IFLA_GSO_MAX_SIZE in host_to_target_data_link_rtattr(). These two messages are sent by the host kernel when we use "sudo". Found with qemu-m68k and Debian etch-m68k (sudo 1.6.8p12-4) and host kernel 4.7.6-200.fc24.x86_64 Signed-off-by: Laurent Vivier

Re: [Qemu-devel] [RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-10-26 Thread Li, Liang Z
> On 10/26/2016 03:06 AM, Li, Liang Z wrote: > > I am working on Dave's new bitmap schema, I have finished the part of > > getting the 'hybrid scheme bitmap' and found the complexity was more > > than I expected. The main issue is more memory is required to save the > > 'hybrid scheme bitmap'

[Qemu-devel] [PATCH v2 15/17] target-m68k: add/sub manage word and byte operands

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target-m68k/translate.c | 73 +++-- 1 file changed, 40 insertions(+), 33 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c

[Qemu-devel] [PATCH v2 14/17] target-m68k: add addressing modes to neg

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target-m68k/translate.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index aa09bd4..f7e6920 100644

[Qemu-devel] [PATCH v2 17/17] target-m68k: immediate ops manage word and byte operands

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target-m68k/translate.c | 57 ++--- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c

[Qemu-devel] [PATCH v2 16/17] target-m68k: cmp manages word and bytes operands

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target-m68k/translate.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index 0448569..57ac2e5 100644

[Qemu-devel] [PATCH v2 10/17] target-m68k: and can manage word and byte operands

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target-m68k/translate.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index a6aaf5e..3f7db83 100644 ---

[Qemu-devel] [PATCH v2 08/17] target-m68k: eor can manage word and byte operands

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target-m68k/translate.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index 031f7eb..9734d05 100644 ---

[Qemu-devel] [PATCH v2 01/17] target-m68k: add bkpt instruction

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier --- target-m68k/translate.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index 6c6173a..a128b67 100644 --- a/target-m68k/translate.c +++ b/target-m68k/translate.c @@ -1639,6 +1639,11

[Qemu-devel] [PATCH v2 04/17] target-m68k: add addressing modes to scc

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier --- target-m68k/translate.c | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index b407623..e595673 100644 ---

[Qemu-devel] [PATCH v2 03/17] target-m68k: add exg ops

2016-10-26 Thread Laurent Vivier
Suggested-by: Richard Henderson Signed-off-by: Laurent Vivier --- target-m68k/translate.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index 0d3111d..b407623 100644 ---

[Qemu-devel] [PATCH v2 13/17] target-m68k: introduce byte and word cc_ops

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target-m68k/cpu.h | 6 +-- target-m68k/helper.c| 25 ++--- target-m68k/translate.c | 131 +++- 3 files changed, 93 insertions(+), 69

[Qemu-devel] [PATCH v2 06/17] target-m68k: Inline addx, subx, negx

2016-10-26 Thread Laurent Vivier
From: Richard Henderson Signed-off-by: Richard Henderson And add opcodes for 680x0 Signed-off-by: Laurent Vivier --- target-m68k/helper.c| 40 -- target-m68k/helper.h| 2 - target-m68k/translate.c | 196

[Qemu-devel] [PATCH v2 12/17] target-m68k: some bit ops cleanup

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target-m68k/translate.c | 34 +++--- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index

[Qemu-devel] [PATCH v2 11/17] target-m68k: suba/adda can manage word operand

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target-m68k/translate.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index 3f7db83..b82ebf3 100644 ---

[Qemu-devel] [PATCH v2 02/17] target-m68k: add linkl

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target-m68k/translate.c | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index a128b67..0d3111d

[Qemu-devel] [PATCH v2 09/17] target-m68k: or can manage word and byte operands

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target-m68k/translate.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index 9734d05..a6aaf5e 100644 ---

[Qemu-devel] [PATCH v2 05/17] target-m68k: add dbcc

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier --- target-m68k/translate.c | 25 + 1 file changed, 25 insertions(+) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index e595673..1836a22 100644 --- a/target-m68k/translate.c +++ b/target-m68k/translate.c

[Qemu-devel] [PATCH v2 07/17] target-m68k: add addressing modes to not

2016-10-26 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target-m68k/translate.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index fd6631d..031f7eb 100644 ---

[Qemu-devel] [PATCH v2 00/17] 680x0 instruction set, part 1

2016-10-26 Thread Laurent Vivier
This series is another subset of the series I sent in May: https://lists.gnu.org/archive/html/qemu-devel/2016-05/msg00501.html It must be applied on top of series: "target-m68k: prepare to introduce 680x0 instruction set" This subset contains: - all the patches reviewed by Richard that needed no

Re: [Qemu-devel] [RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-10-26 Thread Li, Liang Z
> Cc: linux-ker...@vger.kernel.org; virtualizat...@lists.linux-foundation.org; > linux...@kvack.org; virtio-...@lists.oasis-open.org; k...@vger.kernel.org; > qemu-devel@nongnu.org; quint...@redhat.com; dgilb...@redhat.com; > pbonz...@redhat.com; cornelia.h...@de.ibm.com; amit.s...@redhat.com >

Re: [Qemu-devel] [PATCH v3] char: cadence: check baud rate generator and divider values

2016-10-26 Thread Peter Maydell
On 26 October 2016 at 22:22, P J P wrote: > From: Prasad J Pandit > > The Cadence UART device emulator calculates speed by dividing the > baud rate by a 'baud rate generator' & 'baud rate divider' value. > The device specification defines these

[Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash

2016-10-26 Thread Laszlo Ersek (Red Hat)
Some more reports on ipxe-devel: http://lists.ipxe.org/pipermail/ipxe-devel/2016-October/005203.html http://lists.ipxe.org/pipermail/ipxe-devel/2016-October/005210.html Radim just posted the KVM feature patches: [PATCH 0/2] KVM: x86: emulate fxsave and fxrstor

Re: [Qemu-devel] [PATCH 12/16] target-m68k: introduce byte and word cc_ops

2016-10-26 Thread Richard Henderson
On 10/26/2016 09:36 AM, Laurent Vivier wrote: Signed-off-by: Laurent Vivier --- target-m68k/cpu.h | 6 +-- target-m68k/helper.c| 25 ++--- target-m68k/translate.c | 131 +++- 3 files changed, 93 insertions(+), 69

[Qemu-devel] [PATCH] 9pfs: xattrcreate requires non-opened fids

2016-10-26 Thread Greg Kurz
The xattrcreate operation only makes sense on a freshly cloned fid actually, since any open state would be leaked because of the fid_type change. This is indeed what the linux kernel client does: fid = clone_fid(fid); [...] retval = p9_client_xattrcreate(fid, name,

[Qemu-devel] [PATCH v2] block/vxhs: Add Veritas HyperScale VxHS block device support

2016-10-26 Thread Ashish Mittal
This patch adds support for a new block device type called "vxhs". Source code for the library that this code loads can be downloaded from: https://github.com/MittalAshish/libqnio.git Sample command line using JSON syntax: ./qemu-system-x86_64 -name instance-0008 -S -vnc 0.0.0.0:0 -k en-us

Re: [Qemu-devel] [PATCH v7 RFC] block/vxhs: Initial commit to add Veritas HyperScale VxHS block device support

2016-10-26 Thread Ketan Nilangekar
Including the rest of the folks from the original thread. Ketan. On 10/26/16, 9:33 AM, "Paolo Bonzini" wrote: > > >On 26/10/2016 00:39, Ketan Nilangekar wrote: >> >> >>> On Oct 26, 2016, at 12:00 AM, Paolo Bonzini wrote: >>> >>> >>> On

[Qemu-devel] [PATCH v2 6/6] spapr: Memory hot-unplug support

2016-10-26 Thread Michael Roth
From: Bharata B Rao Add support to hot remove pc-dimm memory devices. Since we're introducing a machine-level unplug_request hook, we also had handling for CPU unplug there as well to ensure CPU unplug continues to work as it did before. Signed-off-by: Bharata B Rao

[Qemu-devel] [PATCH v2 4/6] spapr: Add DRC count indexed hotplug identifier type

2016-10-26 Thread Michael Roth
From: Bharata B Rao Add support for DRC count indexed hotplug ID type which is primarily needed for memory hot unplug. This type allows for specifying the number of DRs that should be plugged/unplugged starting from a given DRC index. Signed-off-by: Bharata B Rao

Re: [Qemu-devel] [PATCH 04/16] target-m68k: add scc/dbcc

2016-10-26 Thread Richard Henderson
On 10/26/2016 09:35 AM, Laurent Vivier wrote: Signed-off-by: Laurent Vivier --- target-m68k/translate.c | 65 ++--- 1 file changed, 45 insertions(+), 20 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c

[Qemu-devel] [PATCH v2 1/6] spapr: update spapr hotplug documentation

2016-10-26 Thread Michael Roth
This updates the existing documentation to reflect recent updates to the hotplug event structure, which are in draft form but slated for inclusion in PAPR/LoPAPR. Signed-off-by: Michael Roth Reviewed-by: David Gibson ---

[Qemu-devel] [PATCH v2 0/6] spapr: dedicated hotplug events and memory unplug support

2016-10-26 Thread Michael Roth
This series is based on David's ppc-for-2.8 branch, and is also available from: https://github.com/mdroth/qemu/commits/spapr-hotplug-event-update Changes since v1: * Rebased on latest ppc-for-2.8 * Dropped patches relating to option vector manipulation (now merged) * Moved patch

Re: [Qemu-devel] [PATCH 03/16] target-m68k: add exg ops

2016-10-26 Thread Richard Henderson
On 10/26/2016 09:35 AM, Laurent Vivier wrote: +INSN(undef, c140, f1f8, CF_ISA_A); +INSN(exg, c140, f1f8, M68000); +INSN(undef, c148, f1f8, CF_ISA_A); +INSN(exg, c148, f1f8, M68000); +INSN(undef, c188, f1f8, CF_ISA_A); +INSN(exg, c188, f1f8,

[Qemu-devel] [PATCH v2 5/6] spapr: use count+index for memory hotplug

2016-10-26 Thread Michael Roth
Commit 0a417869: spapr: Move memory hotplug to RTAS_LOG_V6_HP_ID_DRC_COUNT type dropped per-DRC/per-LMB hotplugs event in favor of a bulk add via a single LMB count value. This was to avoid overrunning the guest EPOW event queue with hotplug events. This works fine, but relies on the guest

Re: [Qemu-devel] [PATCH 07/10] spapr_events: add support for dedicated hotplug event source

2016-10-26 Thread Michael Roth
Quoting David Gibson (2016-10-25 19:42:18) > On Mon, Oct 24, 2016 at 11:47:33PM -0500, Michael Roth wrote: > > Hotplug events were previously delivered using an EPOW interrupt > > and were queued by linux guests into a circular buffer. For traditional > > EPOW events like shutdown/resets, this

[Qemu-devel] [PATCH v2 2/6] spapr_events: add support for dedicated hotplug event source

2016-10-26 Thread Michael Roth
Hotplug events were previously delivered using an EPOW interrupt and were queued by linux guests into a circular buffer. For traditional EPOW events like shutdown/resets, this isn't an issue, but for hotplug events there are cases where this buffer can be exhausted, resulting in the loss of

[Qemu-devel] [PATCH v2 3/6] spapr: add hotplug interrupt machine options

2016-10-26 Thread Michael Roth
This adds machine options of the form: -machine pseries,modern-hotplug-events=true -machine pseries,modern-hotplug-events=false If false, QEMU will force the use of "legacy" style hotplug events, which are surfaced through EPOW events instead of a dedicated hot plug event source, and lack

Re: [Qemu-devel] [PATCH RFC] acpi: don't build acpi tables for xen hvm guests

2016-10-26 Thread Stefano Stabellini
On Wed, 26 Oct 2016, Stefano Stabellini wrote: > On Wed, 26 Oct 2016, Wei Liu wrote: > > On Wed, Oct 26, 2016 at 05:09:52PM +0200, Igor Mammedov wrote: > > > On Tue, 25 Oct 2016 18:28:04 +0100 > > > Wei Liu wrote: > > > > > > > Xen's toolstack is in charge of building ACPI

Re: [Qemu-devel] [PATCH v3] char: cadence: check baud rate generator and divider values

2016-10-26 Thread Alistair Francis
On Wed, Oct 26, 2016 at 2:22 PM, P J P wrote: > From: Prasad J Pandit > > The Cadence UART device emulator calculates speed by dividing the > baud rate by a 'baud rate generator' & 'baud rate divider' value. > The device specification defines these

[Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash

2016-10-26 Thread Laszlo Ersek (Red Hat)
BTW, this bug can be easily reproduced on hosts that do feature unrestricted_guest, just reload the kvm_intel module with unrestricted_guest=N. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1623276

[Qemu-devel] [PATCH v10 19/19] docs: Sample driver to demonstrate how to use Mediated device framework.

2016-10-26 Thread Kirti Wankhede
The Sample driver creates mdev device that simulates serial port over PCI card. Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: I857f8f12f8b275f2498dfe8c628a5cdc7193b1b2 --- Documentation/vfio-mdev/Makefile | 13 +

[Qemu-devel] [PATCH v10 14/19] vfio_pci: Updated to use vfio_set_irqs_validate_and_prepare()

2016-10-26 Thread Kirti Wankhede
Updated vfio_pci.c file to use vfio_set_irqs_validate_and_prepare() Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: I9f3daba89d8dba5cb5b01a8cff420412f30686c7 --- drivers/vfio/pci/vfio_pci.c | 29 + 1 file

[Qemu-devel] [PATCH v10 18/19] docs: Sysfs ABI for mediated device framework

2016-10-26 Thread Kirti Wankhede
Added details of sysfs ABI for mediated device framework Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: Icb0fd4ed58a2fa793fbcb1c3d5009a4403c1f3ac --- Documentation/ABI/testing/sysfs-bus-vfio-mdev | 111 ++ 1 file

  1   2   3   4   5   6   >