Re: [Qemu-devel] Win32 stdio not working if SDL is enabled

2015-08-14 Thread Liviu Ionescu
> On 14 Aug 2015, at 15:15, Daniel P. Berrange wrote: > > On Fri, Aug 14, 2015 at 12:14:15PM +0100, Daniel P. Berrange wrote: >> On Thu, Aug 13, 2015 at 07:48:47PM +0200, Stefan Weil wrote: >>> ... that's a feature of SDL 1.2: stdout and stderr are by default >>> redirected to files stdout.txt a

[Qemu-devel] [PATCH 03/11] target-m68k: Remove incorrect clearing of cc_x

2015-08-14 Thread Richard Henderson
The CF docs certainly doesnt suggest this is true. Signed-off-by: Richard Henderson --- target-m68k/helper.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/target-m68k/helper.c b/target-m68k/helper.c index c7b0fbe..6feb4bf 100644 --- a/target-m68k/helper.c +++ b/target-m68k/helper.c @

[Qemu-devel] [PULL 1/3] net/vmxnet3: Fix incorrect debug message

2015-08-14 Thread Stefan Hajnoczi
From: Dana Rubin From: Dana Rubin In commit 80da311d81, "net/vmxnet3: Fix RX TCP/UDP checksum on partially summed packets" a debug message was introduced in vmxnet3_rx_need_csum_calculate() for an unlikely input condition. The message accidentally printed 'len' variable instead of 'pkt_len'

[Qemu-devel] [PATCH 11/11] target-m68k: Inline addx, subx, negx

2015-08-14 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-m68k/helper.c| 40 - target-m68k/helper.h| 2 -- target-m68k/translate.c | 67 + 3 files changed, 56 insertions(+), 53 deletions(-) diff --git a/target-m68k/helper.c b

[Qemu-devel] [PATCH 08/11] target-m68k: Optimize some comparisons

2015-08-14 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-m68k/translate.c | 108 +--- 1 file changed, 102 insertions(+), 6 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index 28c3e1e..6f60c6f 100644 --- a/target-m68k/translate.c +++ b/

[Qemu-devel] [PATCH v2 15/18] nvdimm: support NFIT_CMD_GET_CONFIG_SIZE function

2015-08-14 Thread Xiao Guangrong
Function 4 is used to get Namespace lable size Signed-off-by: Xiao Guangrong --- hw/mem/nvdimm/acpi.c | 70 1 file changed, 70 insertions(+) diff --git a/hw/mem/nvdimm/acpi.c b/hw/mem/nvdimm/acpi.c index 20aefce..0a5f2c2 100644 --- a/hw/mem/n

[Qemu-devel] [PATCH 05/11] target-m68k: Reorg flags handling

2015-08-14 Thread Richard Henderson
Separate all ccr bits. Continue to batch updates via cc_op. Signed-off-by: Richard Henderson --- target-m68k/cpu.c | 2 +- target-m68k/cpu.h | 46 +++--- target-m68k/helper.c| 400 +--- target-m68k/helper.h| 6 +- target-m68k/

[Qemu-devel] [PULL 3/3] tests: test rx recovery from cont

2015-08-14 Thread Stefan Hajnoczi
From: Jason Wang Rx should be recovered after cont. Signed-off-by: Jason Wang Message-id: 1437117954-16342-2-git-send-email-jasow...@redhat.com Signed-off-by: Stefan Hajnoczi --- tests/virtio-net-test.c | 52 + 1 file changed, 52 insertions(+)

[Qemu-devel] [PATCH 02/11] target-m68k: Some fixes to SR and flags management

2015-08-14 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-m68k/cpu.h | 3 ++- target-m68k/helper.c| 17 +++-- target-m68k/op_helper.c | 5 +++-- target-m68k/translate.c | 2 +- 4 files changed, 21 insertions(+), 6 deletions(-) diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h index 9

[Qemu-devel] [PATCH 06/11] target-m68k: Introduce DisasCompare

2015-08-14 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-m68k/translate.c | 82 - 1 file changed, 60 insertions(+), 22 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index b0cb39d..ce48e2a 100644 --- a/target-m68k/translate.c +++ b/

[Qemu-devel] [PATCH 04/11] target-m68k: Replace helper_xflag_lt with setcond

2015-08-14 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-m68k/helper.c| 5 - target-m68k/helper.h| 1 - target-m68k/translate.c | 14 +++--- 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/target-m68k/helper.c b/target-m68k/helper.c index 6feb4bf..a032947 100644 --- a/tar

[Qemu-devel] [PULL 2/3] tests: introduce basic pci test for virtio-net

2015-08-14 Thread Stefan Hajnoczi
From: Jason Wang Signed-off-by: Jason Wang Reviewed-by: Fam Zheng Message-id: 1437117954-16342-1-git-send-email-jasow...@redhat.com Signed-off-by: Stefan Hajnoczi --- tests/Makefile | 2 +- tests/virtio-net-test.c | 185 ++-- 2 files chan

[Qemu-devel] [PATCH v2] spice: Allow to set password even if disable-ticketing was used

2015-08-14 Thread Christophe Fergeau
Before commit b1ea7b79e1, it was possible to start with -spice disable-ticketing, and then use the "set_password spice" command to enable ticketing with SPICE. Since commit b1ea7b79e1 this is no longer possible as qemu_spice_set_ticket() will return an error unless the 'auth' type is "spice". When

[Qemu-devel] [PATCH] configure: Don't permit SDL or GTK on OSX

2015-08-14 Thread Peter Maydell
The cocoa GUI frontend assumes it is the only GUI (it redefines main() so it always gets control before the rest of QEMU), so it does not play well with other UIs like SDL or GTK. (Mostly people building QEMU on OSX don't have the necessary dependencies available for configure to build those other

Re: [Qemu-devel] [PATCH v2] qemu-doc.texi: Add information on compiling source code on Mac OS X

2015-08-14 Thread Peter Maydell
On 7 August 2015 at 21:57, Programmingkid wrote: > Add information on compiling source code on Mac OS X > to the documentation. > > Signed-off-by: John Arbuckle > --- > qemu-doc.texi | 44 +--- > 1 files changed, 41 insertions(+), 3 deletions(-) > > dif

[Qemu-devel] [PATCH 09/11] target-m68k: Optimize gen_flush_flags

2015-08-14 Thread Richard Henderson
--- target-m68k/translate.c | 56 + 1 file changed, 52 insertions(+), 4 deletions(-) diff --git a/target-m68k/translate.c b/target-m68k/translate.c index 6f60c6f..19097c2 100644 --- a/target-m68k/translate.c +++ b/target-m68k/translate.c @@ -461,18

Re: [Qemu-devel] [PATCH] spice: Allow to set password even if disable-ticketing was used

2015-08-14 Thread Christophe Fergeau
On Fri, Aug 14, 2015 at 03:35:21PM +0100, Daniel P. Berrange wrote: > On Fri, Aug 14, 2015 at 02:47:15PM +0200, Christophe Fergeau wrote: > > Before commit b1ea7b79e1, it was possible to start with -spice > > disable-ticketing, and then use the "set_password spice" command to > > enable ticketing w

[Qemu-devel] [PATCH 01/11] target-m68k: Print flags properly

2015-08-14 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-m68k/cpu.h | 1 + target-m68k/helper.c| 2 +- target-m68k/translate.c | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h index 6d1a140..9708615 100644 --- a/target-m68k/cpu.h +++ b/ta

[Qemu-devel] [PULL 0/3] Net patches

2015-08-14 Thread Stefan Hajnoczi
The following changes since commit e95edefbd0559e1d0aa09549641b5d9af1f96fac: Merge remote-tracking branch 'remotes/sstabellini/tags/xen-migration-2.4-tag' into staging (2015-08-03 17:33:35 +0100) are available in the git repository at: git://github.com/stefanha/qemu.git tags/net-pull-reques

Re: [Qemu-devel] [PATCH] configure: Don't permit SDL or GTK on OSX

2015-08-14 Thread Daniel P. Berrange
On Fri, Aug 14, 2015 at 04:10:52PM +0100, Peter Maydell wrote: > The cocoa GUI frontend assumes it is the only GUI (it redefines > main() so it always gets control before the rest of QEMU), so > it does not play well with other UIs like SDL or GTK. (Mostly > people building QEMU on OSX don't have t

Re: [Qemu-devel] [PATCH 00/11] Proposed format for m68k flags

2015-08-14 Thread Laurent Vivier
Le 14/08/2015 16:59, Richard Henderson a écrit : > As promised a couple of days ago, with the addition of CC_OP_CMP, > which wasn't in the text of my proposal the other day. From the > looks of the generated code, I believe this is ideal. > > The following is based on Laurent's 8/30 Update cpu

Re: [Qemu-devel] [PULL 0/2] Block patches

2015-08-14 Thread Peter Maydell
On 14 August 2015 at 15:41, Stefan Hajnoczi wrote: > The following changes since commit 2be4f242b50a84bf360df02480b173bfed161107: > > Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into > staging (2015-08-04 16:51:24 +0100) > > are available in the git repository at: > >

[Qemu-devel] [mttcg RFC v4 4/6] softmmu_llsc_template.h: move to multithreading

2015-08-14 Thread Alvise Rigo
Update the TCG LL/SC helpers to work in multi-threading. The basic idea remains untouched, but the whole mechanism takes now into account of the multiple, concurrent, vCPUs execution. In essence, if a vCPU does a LL it checks the vCPUs that have not the excl bit set for the accessed page. For thos

[Qemu-devel] [mttcg RFC v4 2/6] cputlb: wrap tlb_flush with the a new function

2015-08-14 Thread Alvise Rigo
Introduce the new tlb_query_flush_cpu function to query a TLB flush to a given vCPU. The function takes care to check and set a new flag (pending_tlb_flush) to avoid unnecessary flushes. Signed-off-by: Alvise Rigo --- cputlb.c| 21 - include/exec/exec-all.h |

[Qemu-devel] [mttcg RFC v4 1/6] cpus: async_run_on_cpu: kick only if needed

2015-08-14 Thread Alvise Rigo
In some unique situations a vCPU can be kicked even if it's not ready to execute TCG code i.e. when current_tb has never been set before. This can happen with the atomic stress test (not kvm-unit-test based), where a vCPU can query some work to a not yet started vCPU. Signed-off-by: Alvise Rigo -

[Qemu-devel] [mttcg RFC v4 3/6] exec: ram_addr: Fix exclusive bitmap accessor

2015-08-14 Thread Alvise Rigo
Signed-off-by: Alvise Rigo --- include/exec/ram_addr.h | 61 + 1 file changed, 51 insertions(+), 10 deletions(-) diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h index 6b678d6..34bb486 100644 --- a/include/exec/ram_addr.h +++ b/includ

Re: [Qemu-devel] [PATCH v2] qemu-doc.texi: Add information on compiling source code on Mac OS X

2015-08-14 Thread Programmingkid
On Aug 14, 2015, at 11:16 AM, Peter Maydell wrote: > On 7 August 2015 at 21:57, Programmingkid wrote: >> Add information on compiling source code on Mac OS X >> to the documentation. >> >> Signed-off-by: John Arbuckle > >> --- >> qemu-doc.texi | 44 +-

[Qemu-devel] [mttcg RFC v4 6/6] target-arm: Use a runtime helper for excl accesses

2015-08-14 Thread Alvise Rigo
Instead of using TCG's load and store instructions, use a runtime helper as a hook for the slow-path. This is a proof of concept to verify that this approach is actually working. At the moment only the 32bit STREX is relying on this new code-path and it's working as expected. Signed-off-by: Alvis

[Qemu-devel] [mttcg RFC v4 5/6] softmmu_template.h: move to multithreading

2015-08-14 Thread Alvise Rigo
Exploiting the tcg_excl_access_lock, port the helper_{le,be}_st_name to work in real multithreading. Suggested-by: Jani Kokkonen Suggested-by: Claudio Fontana Signed-off-by: Alvise Rigo --- softmmu_template.h | 36 ++-- 1 file changed, 30 insertions(+), 6 deleti

[Qemu-devel] [mttcg RFC v4 0/6] Atomic slow-path for mttcg

2015-08-14 Thread Alvise Rigo
This is just an update with the relevant patches needed to port the v4 of "Slow-path for atomic instruction translation" to mttcg v7. The full source code is available at the following GIT repository: https://git.virtualopensystems.com/dev/qemu-mt.git branch: slowpath-for-atomic-v4-mttcg The [PATC

Re: [Qemu-devel] [PATCH v2] qemu-doc.texi: Add information on compiling source code on Mac OS X

2015-08-14 Thread Peter Maydell
On 14 August 2015 at 17:09, Programmingkid wrote: > > On Aug 14, 2015, at 11:16 AM, Peter Maydell wrote: > >> On 7 August 2015 at 21:57, Programmingkid wrote: >>> Add information on compiling source code on Mac OS X >>> to the documentation. >>> >>> Signed-off-by: John Arbuckle >> >>> --- >>> qe

Re: [Qemu-devel] [PATCH v2] qemu-doc.texi: Add information on compiling source code on Mac OS X

2015-08-14 Thread Programmingkid
On Aug 14, 2015, at 12:28 PM, Peter Maydell wrote: > On 14 August 2015 at 17:09, Programmingkid wrote: >> >> On Aug 14, 2015, at 11:16 AM, Peter Maydell wrote: >> >>> On 7 August 2015 at 21:57, Programmingkid wrote: Add information on compiling source code on Mac OS X to the documen

Re: [Qemu-devel] [PATCH 03/11] target-m68k: Remove incorrect clearing of cc_x

2015-08-14 Thread Andreas Schwab
Richard Henderson writes: > The CF docs certainly doesnt suggest this is true. > > Signed-off-by: Richard Henderson > --- > target-m68k/helper.c | 7 --- > 1 file changed, 7 deletions(-) > > diff --git a/target-m68k/helper.c b/target-m68k/helper.c > index c7b0fbe..6feb4bf 100644 > --- a/tar

Re: [Qemu-devel] [PULL 0/2] Block job patches

2015-08-14 Thread Peter Maydell
On 14 August 2015 at 15:55, Jeff Cody wrote: > On Fri, Aug 14, 2015 at 03:51:03PM +0100, Peter Maydell wrote: >> Your pull req tag has not only these two commits in it, >> but also a merge commit ("Merge branch 'block-next' into HEAD). >> Why is that? > I was trying to keep a commit id stable (fo

Re: [Qemu-devel] [PATCH v2 1/1] xlnx-zynqmp: Connect the four OCM banks

2015-08-14 Thread Alistair Francis
On Mon, Jul 13, 2015 at 1:56 PM, Alistair Francis wrote: > On Mon, Jul 13, 2015 at 12:48 PM, Peter Crosthwaite > wrote: >> On Mon, Jul 13, 2015 at 11:54 AM, Alistair Francis >> wrote: >>> The Xilinx EP108 has four separate OCM banks which are located >>> adjacent to each other. This patch adds t

Re: [Qemu-devel] [PATCH v2 1/1] xlnx-zynqmp: Connect the four OCM banks

2015-08-14 Thread Peter Maydell
On 14 August 2015 at 18:10, Alistair Francis wrote: > On Mon, Jul 13, 2015 at 1:56 PM, Alistair Francis > wrote: >> On Mon, Jul 13, 2015 at 12:48 PM, Peter Crosthwaite >> wrote: >>> On Mon, Jul 13, 2015 at 11:54 AM, Alistair Francis >>> wrote: The Xilinx EP108 has four separate OCM banks w

Re: [Qemu-devel] [PATCH 2/8] qcow2: add dirty-bitmaps feature

2015-08-14 Thread Vladimir Sementsov-Ogievskiy
On 10.06.2015 17:30, Stefan Hajnoczi wrote: On Mon, Jun 08, 2015 at 06:21:20PM +0300, Vladimir Sementsov-Ogievskiy wrote: +ret = bdrv_pread(bs->file, bm->l1_table_offset, l1_table, + bm->l1_size * sizeof(uint64_t)); +if (ret < 0) { +goto fail; +} + +

Re: [Qemu-devel] [PATCH v1 0/2] MAINTAINERS: Update the MAINTAINERS file

2015-08-14 Thread Alistair Francis
On Thu, Jul 16, 2015 at 1:35 PM, Alistair Francis wrote: > Two simple patches that update the Xilinx related contacts > in the maintainer file and add ZynqMP to the file. Ping! Both of these have been reviewed Thanks, Alistair > > Alistair Francis (2): > MAINTAINERS: Update Xilinx Maintaine

Re: [Qemu-devel] [PATCH v1 0/2] MAINTAINERS: Update the MAINTAINERS file

2015-08-14 Thread Peter Maydell
On 14 August 2015 at 18:15, Alistair Francis wrote: > On Thu, Jul 16, 2015 at 1:35 PM, Alistair Francis > wrote: >> Two simple patches that update the Xilinx related contacts >> in the maintainer file and add ZynqMP to the file. > > Ping! > > Both of these have been reviewed Applied to target-

Re: [Qemu-devel] [PATCH v1 0/2] MAINTAINERS: Update the MAINTAINERS file

2015-08-14 Thread Alistair Francis
On Fri, Aug 14, 2015 at 10:17 AM, Peter Maydell wrote: > On 14 August 2015 at 18:15, Alistair Francis > wrote: >> On Thu, Jul 16, 2015 at 1:35 PM, Alistair Francis >> wrote: >>> Two simple patches that update the Xilinx related contacts >>> in the maintainer file and add ZynqMP to the file. >> >

Re: [Qemu-devel] [PATCH v1 0/3] xlnx-zynqmp: Connect the AHCI SATA device

2015-08-14 Thread Alistair Francis
On Mon, Jul 27, 2015 at 11:37 AM, Alistair Francis wrote: > This series connects the AHCI SATA device to the ZynqMP > machine. It requires a restructure of the AHCI file to > make the AHCI state struct visible. It also requires a > small change to object_class_dynamic_cast() to return > NULL if th

Re: [Qemu-devel] [PATCH 0/4] target-arm: Implement missing EL3 (and EL2) registers

2015-08-14 Thread Edgar E. Iglesias
On Fri, Aug 14, 2015 at 11:12:55AM +0100, Peter Maydell wrote: > Ping? > Hi! Sorry for the delay! I'll have a look at this over the weekend. Do you happen to have the patches all applied in a branch somewhere? Thanks, Edgar > thanks > -- PMM > > On 30 July 2015 at 19:36, Peter Maydell wrote:

[Qemu-devel] [PATCH v2 0/4] scripts/qemu-gdb: Split into modules

2015-08-14 Thread Peter Maydell
This patch series splits scripts/qemu-gdb into separate files for each command, to make it easier to add new commands in future without them all going into a single huge file. Patches 1 and 2 do that split, and have been on the list before (and reviewed by Stefan). Patch 3 makes the script tell g

Re: [Qemu-devel] [PATCH 0/4] target-arm: Implement missing EL3 (and EL2) registers

2015-08-14 Thread Peter Maydell
On 14 August 2015 at 18:42, Edgar E. Iglesias wrote: > On Fri, Aug 14, 2015 at 11:12:55AM +0100, Peter Maydell wrote: >> Ping? >> > > Hi! Sorry for the delay! I'll have a look at this over the weekend. > Do you happen to have the patches all applied in a branch somewhere? Unfortunately not at the

[Qemu-devel] [PATCH v2 4/4] scripts/qemu-gdb: Add brief comment describing usage

2015-08-14 Thread Peter Maydell
Add a brief comment describing how to use the debug support from GDB. Signed-off-by: Peter Maydell --- scripts/qemu-gdb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/qemu-gdb.py b/scripts/qemu-gdb.py index f98cd21..d6f2e5a 100644 --- a/scripts/qemu-gdb.py +++ b/scripts/qemu-g

[Qemu-devel] [PATCH v2 3/4] scripts/qemu-gdb: Silently pass through SIGUSR1

2015-08-14 Thread Peter Maydell
SIGUSR1 is QEMU's IPI signal, and it gets sent a lot, so is best silently passed through to the guest without stopping. Make qemu-gdb.py do this bit of configuration for the user. Signed-off-by: Peter Maydell --- scripts/qemu-gdb.py | 4 1 file changed, 4 insertions(+) diff --git a/scripts

[Qemu-devel] [PATCH v2 1/4] scripts/qemu-gdb: Split MtreeCommand into its own module

2015-08-14 Thread Peter Maydell
As we add more commands to our Python gdb debugging support, it's going to get unwieldy to have everything in a single file. Split the implementation of the 'mtree' command from qemu-gdb.py into its own module. Signed-off-by: Peter Maydell Reviewed-by: Stefan Hajnoczi --- scripts/qemu-gdb.py

[Qemu-devel] [PATCH v2 2/4] scripts/qemu-gdb: Split CoroutineCommand into its own file

2015-08-14 Thread Peter Maydell
Split the implementation of CoroutineCommand into its own file. Signed-off-by: Peter Maydell Reviewed-by: Stefan Hajnoczi --- scripts/qemu-gdb.py | 78 + scripts/qemugdb/coroutine.py | 91 2 files changed,

[Qemu-devel] [PATCH v3] qemu-doc.texi: Add information on compiling source code on Mac OS X

2015-08-14 Thread Programmingkid
This patch will add information to the documentation web page on how to build Qemu on Mac OS X. Signed-off-by: John Arbuckle --- Add info on additional libraries that need to be installed. qemu-doc.texi | 60 ++-- 1 files changed, 57 inser

Re: [Qemu-devel] [PATCH 0/4] target-arm: Implement missing EL3 (and EL2) registers

2015-08-14 Thread Edgar E. Iglesias
On Fri, Aug 14, 2015 at 06:48:28PM +0100, Peter Maydell wrote: > On 14 August 2015 at 18:42, Edgar E. Iglesias > wrote: > > On Fri, Aug 14, 2015 at 11:12:55AM +0100, Peter Maydell wrote: > >> Ping? > >> > > > > Hi! Sorry for the delay! I'll have a look at this over the weekend. > > Do you happen

Re: [Qemu-devel] [PATCH] configure: Don't permit SDL or GTK on OSX

2015-08-14 Thread Programmingkid
On Aug 14, 2015, at 11:10 AM, Peter Maydell wrote: > The cocoa GUI frontend assumes it is the only GUI (it redefines > main() so it always gets control before the rest of QEMU), so > it does not play well with other UIs like SDL or GTK. (Mostly > people building QEMU on OSX don't have the necessa

Re: [Qemu-devel] Help debugging a regression in KVM Module

2015-08-14 Thread Peter Lieven
Am 14.08.2015 um 15:01 schrieb Paolo Bonzini: > > - Original Message - >> From: "Peter Lieven" >> To: qemu-devel@nongnu.org, k...@vger.kernel.org >> Cc: "Paolo Bonzini" >> Sent: Friday, August 14, 2015 1:11:34 PM >> Subject: Help debugging a regression in KVM Module >> >> Hi, >> >> some t

Re: [Qemu-devel] Help debugging a regression in KVM Module

2015-08-14 Thread Alex Bennée
Peter Lieven writes: > Hi, > > some time a go I stumbled across a regression in the KVM Module that has been > introduced somewhere > between 3.17 and 3.19. > > I have a rather old openSUSE guest with an XFS filesystem which realiably > crashes after some live migrations. > I originally believ

Re: [Qemu-devel] [PATCH v1 08/10] xen/pt: Make xen_pt_unregister_device idempotent

2015-08-14 Thread Konrad Rzeszutek Wilk
> > @@ -818,10 +819,13 @@ static void xen_pt_unregister_device(PCIDevice *d) > > { > > XenPCIPassthroughState *s = XEN_PT_DEVICE(d); > > uint8_t machine_irq = s->machine_irq; > > -uint8_t intx = xen_pt_pci_intx(s); > > +uint8_t intx; > > int rc; > > > > -if (machine_ir

Re: [Qemu-devel] [PATCH v1 03/10] xen/pt: Check if reg->init function sets the 'data' past the reg->size

2015-08-14 Thread Konrad Rzeszutek Wilk
On Fri, Jul 17, 2015 at 05:03:44PM +0100, Stefano Stabellini wrote: > On Thu, 2 Jul 2015, Konrad Rzeszutek Wilk wrote: > > It should never happen, but in case it does (an developer adds > > a new register and the 'init_val' expands past the register > > size) we want to report. The code will only w

Re: [Qemu-devel] Plan for using softmmu with linux-user

2015-08-14 Thread Chen Gang
On 8/14/15 22:44, Richard Henderson wrote: > On 08/14/2015 02:37 AM, gchen gchen wrote: >> - If I implement SW64 tcg backend, I guess, I cann't get help from qemu >>upstream: I don't think SW64 is valuable enough for upstream (either >>I am not sure that I can implment Alpha tcg backend in

[Qemu-devel] [Bug 1484990] [NEW] fsfreeze-hook script should also ignored dpkg generated files

2015-08-14 Thread Laurent Bigonville
Public bug reported: Hello, In the fsfreeze-hook script, the following code check if some of the files should be ignored: # Check whether file $1 is a backup or rpm-generated file and should be ignored is_ignored_file() { case "$1" in *~ | *.bak | *.orig | *.rpmnew | *.rpmorig | *.r

[Qemu-devel] [Bug 1485010] [NEW] qemu-guest-agent should support systemd in addition to pmutils

2015-08-14 Thread Laurent Bigonville
Public bug reported: Hello, Shouldn't the qemu-guest-agent also support systemd function in addition to the existing call to pm-suspend, shutdown, hwclock? Some machines doesn't have pm-utils at all now. ** Affects: qemu Importance: Undecided Status: New ** Description changed:

[Qemu-devel] [PULL v3 00/19] SCSI, build, TCG, RCU, misc patches for 2015-08-12

2015-08-14 Thread Paolo Bonzini
The following changes since commit cb48f67ad8c7b33c617d4f8144a27706e69fd688: bsd-user: Fix operand to cpu_x86_exec (2015-07-30 12:38:49 +0100) are available in the git repository at: git://github.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 9504c5445cb709415aea50995

Re: [Qemu-devel] about the patch kvmclock Ensure proper env->tsc value for kvmclock_current_nsec calculation

2015-08-14 Thread Marcelo Tosatti
On Fri, Aug 14, 2015 at 09:18:01AM +, Li, Liang Z wrote: > > Subject: Re: [Qemu-devel] about the patch kvmclock Ensure proper env->tsc > > value for kvmclock_current_nsec calculation > > > > > Thanks for your reply, I have read the thread in your email, what's > > > the > > mean of 'swit

Re: [Qemu-devel] [PATCH 03/11] target-m68k: Remove incorrect clearing of cc_x

2015-08-14 Thread Richard Henderson
On Aug 14, 2015 10:04, Andreas Schwab wrote: > > Richard Henderson writes: > > > The CF docs certainly doesnt suggest this is true. > > > > Signed-off-by: Richard Henderson > > --- > >  target-m68k/helper.c | 7 --- > >  1 file changed, 7 deletions(-) > > > > diff --git a/target-m68k/

Re: [Qemu-devel] [PATCH] Move RAMBlock and ram_list to ram_addr.h

2015-08-14 Thread Paolo Bonzini
On 14/08/2015 12:25, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > Signed-off-by: Dr. David Alan Gilbert > --- > include/exec/cpu-all.h | 41 - > include/exec/ram_addr.h | 40 > 2 file

Re: [Qemu-devel] [PATCH v2 3/6] hw/block/nvme.c: Use pow2ceil() rather than hand-calculation

2015-08-14 Thread Paolo Bonzini
On 24/07/2015 14:33, Peter Maydell wrote: > Use pow2ceil() to round up to the next power of 2, rather > than an inline calculation. > > Signed-off-by: Peter Maydell > --- > hw/block/nvme.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/block/nvme.c b/hw/block/nvme

Re: [Qemu-devel] [PATCH v2 4/6] exec.c: Use pow2floor() rather than hand-calculation

2015-08-14 Thread Paolo Bonzini
On 24/07/2015 14:33, Peter Maydell wrote: > Use pow2floor() to round down to the nearest power of 2, > rather than an inline calculation. > > Signed-off-by: Peter Maydell > --- > exec.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/exec.c b/exec.c > index 7d60e15

Re: [Qemu-devel] [PATCH v2 5/6] Remove unused qemu_fls function

2015-08-14 Thread Paolo Bonzini
On 24/07/2015 14:33, Peter Maydell wrote: > Nothing uses qemu_fls() any more, so delete it. > > Signed-off-by: Peter Maydell > --- > include/qemu-common.h | 1 - > util/cutils.c | 5 - > 2 files changed, 6 deletions(-) > > diff --git a/include/qemu-common.h b/include/qemu-common.h

Re: [Qemu-devel] [PATCH v2 6/6] Make pow2ceil() and pow2floor() inline

2015-08-14 Thread Paolo Bonzini
On 24/07/2015 14:33, Peter Maydell wrote: > Since the pow2floor() function is now used in a hot code path, > make it inline; for consistency, provide pow2ceil() as an inline > function too. > > Because these functions use ctz64() we have to put the inline > versions into host-utils.h, so they ha

Re: [Qemu-devel] [RFC PATCH V7 07/19] protect TBContext with tb_lock.

2015-08-14 Thread Paolo Bonzini
On 14/08/2015 10:38, Frederic Konrad wrote: >> Are you likely to push a v8 this week (or a temp branch?) with this and >> any other obvious fixes? I appreciate Paolo has given you a not-so-small >> pile of review comments as well so I wasn't looking for a complete new >> patch set! > here is some

Re: [Qemu-devel] [PATCH 03/11] target-m68k: Remove incorrect clearing of cc_x

2015-08-14 Thread Andreas Schwab
Richard Henderson writes: > Ah. Except placed here it also applies to and/or/move too. Well, none of those ever overflow in the first place. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something compl

<    1   2