[Qemu-devel] [Bug 1255303] Re: ALSA underruns occurr when using QEMU

2015-12-24 Thread T-artem
QEmu is more or less unusable here because of this: ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(s

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

2015-12-24 Thread Lan Tianyu
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 extend PCI bus/hotplug >> > driver to do pause/resume other de

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

2015-12-24 Thread Robert Hu
Public bug reported: Environment: Host OS (ia32/ia32e/IA64): ia32e Guest OS (ia32/ia32e/IA64): ia32e Guest OS Type (Linux/Windows): linux kvm.git Commit: da3f7ca3 qemu.git Commit: 38a762fe Host Kernel Version: 4.4.0-rc2 Hardware: BDW EP (Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20

Re: [Qemu-devel] [WIP] RDMA transport for COLO

2015-12-24 Thread Hailiang Zhang
On 2015/12/18 4:31, Dr. David Alan Gilbert wrote: Hi, I've been playing with getting an RDMA setup for COLO and have something that mostly works, but it is very new and quite hacky; but I thought I'd share my work so far. Nice work, i will look at it later. :) You can find it at: https://

Re: [Qemu-devel] [PATCH COLO-Frame v12 30/38] savevm: Split load vm state function qemu_loadvm_state

2015-12-24 Thread Hailiang Zhang
On 2015/12/15 20:08, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: qemu_loadvm_state is too long, and we can simplify it by splitting up with three helper functions. Yes, good idea. Signed-off-by: zhanghailiang --- migration/savevm.c | 161 +

Re: [Qemu-devel] [PATCH COLO-Frame v12 28/38] COLO: Process shutdown command for VM in COLO state

2015-12-24 Thread Hailiang Zhang
On 2015/12/15 19:31, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: If VM is in COLO FT state, we should do some extra work before normal shutdown process. SVM will ignore the shutdown command if this command is issued directly to it, PVM will send the shut

[Qemu-devel] [Bug 1529173] Re: Absolutely slow Windows XP SP3 installation

2015-12-24 Thread T-artem
That was without KVM acceleration, so perhaps it's how it's meant to be. With KVM everything is fast and smooth. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1529173 Title: Absolutely slow Window

[Qemu-devel] [Bug 1529173] [NEW] Absolutely slow Windows XP SP3 installation

2015-12-24 Thread T-artem
Public bug reported: Host: Linux 4.3.3 vanilla x86-64/Qemu 2.5 i686 (mixed env) Guest: Windows XP Professional SP3 (i686) This is my launch string: $ qemu-system-i386 \ -name "Windows XP Professional SP3" \ -vga std \ -net nic,model=pcnet \ -cpu core2duo \ -smp cores=2 \ -cdrom /tmp/en_winxp_pro

Re: [Qemu-devel] [PATCH COLO-Frame v12 18/38] COLO: Flush PVM's cached RAM into SVM's memory

2015-12-24 Thread Hailiang Zhang
On 2015/12/15 19:07, Changlong Xie wrote: On 12/15/2015 04:22 PM, zhanghailiang wrote: During the time of VM's running, PVM may dirty some pages, we will transfer PVM's dirty pages to SVM and store them into SVM's RAM cache at next checkpoint time. So, the content of SVM's RAM cache will always

[Qemu-devel] nvdimm: fix header pointer in nvdimm_build_nfit()

2015-12-24 Thread Haozhong Zhang
In the current nvdimm_build_nfit(), the pointer 'header' initially equals to table_data->data + table_data->len. However, the following g_array_append_vals(table_data, structures->data, structures->len) may resize and relocate table_data->data[]. Therefore, the usage of 'header' afterwards may be i

Re: [Qemu-devel] [PATCH COLO-Frame v12 21/38] COLO failover: Introduce a new command to trigger a failover

2015-12-24 Thread Hailiang Zhang
On 2015/12/22 21:50, Hailiang Zhang wrote: On 2015/12/19 17:38, Markus Armbruster wrote: zhanghailiang writes: We leave users to choose whatever heartbeat solution they want, if the heartbeat is lost, or other errors they detect, they can use experimental command 'x_colo_lost_heartbeat' to te

Re: [Qemu-devel] [PATCH] block: add missing call to bdrv_drain_recurse

2015-12-24 Thread Fam Zheng
On Wed, 12/23 11:48, Paolo Bonzini wrote: > This is also needed in bdrv_drain_all, not just in bdrv_drain. > > Signed-off-by: Paolo Bonzini > --- > block/io.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/block/io.c b/block/io.c > index 841f5b5..bfe2544 100644 > --- a/block/io.c > ++

Re: [Qemu-devel] [PATCH] block: acquire in bdrv_query_image_info

2015-12-24 Thread Fam Zheng
On Wed, 12/23 11:48, Paolo Bonzini wrote: > NFS calls aio_poll inside bdrv_get_allocated_size. This requires > acquiring the AioContext. > > Signed-off-by: Paolo Bonzini > --- > block/qapi.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/block/qapi.c b/block/

Re: [Qemu-devel] [PATCH v14 Resend 10/13] pci: add pci device pre-post reset callbacks for host bus reset

2015-12-24 Thread Chen Fan
On 12/24/2015 10:34 PM, Michael S. Tsirkin wrote: On Thu, Dec 24, 2015 at 01:10:25PM +0800, Chen Fan wrote: On 12/22/2015 05:07 AM, Alex Williamson wrote: On Fri, 2015-12-18 at 11:29 +0800, Chen Fan wrote: On 12/18/2015 04:31 AM, Alex Williamson wrote: On Thu, 2015-12-17 at 09:41 +0800, Cao

Re: [Qemu-devel] [PATCH COLO-Frame v12 27/38] COLO failover: Don't do failover during loading VM's state

2015-12-24 Thread Hailiang Zhang
On 2015/12/15 18:21, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: We should not do failover work while the main thread is loading VM's state, otherwise it will destroy the consistent of VM's memory and device state. Here we add a new failover status 'REL

Re: [Qemu-devel] [PATCH 1/2] linux-user: Update m68k syscall definitions to match Linux 4.4.

2015-12-24 Thread John Paul Adrian Glaubitz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/24/2015 10:21 PM, Laurent Vivier wrote: > I think you should have added this description in the commit > message of the patch. Hmm, ok. Let's wait for other comments. I'm open to make any improvements in this regards but I also think the chang

qemu-devel@nongnu.org

2015-12-24 Thread Programmingkid
On Dec 24, 2015, at 5:45 PM, BALATON Zoltan wrote: > On Thu, 24 Dec 2015, Programmingkid wrote: >> On Dec 24, 2015, at 10:34 AM, Peter Maydell wrote: >>> On 24 December 2015 at 01:00, Programmingkid >>> wrote: I'm having problems with the pci_dma_read() function. When using a Mac OS X

qemu-devel@nongnu.org

2015-12-24 Thread BALATON Zoltan
On Thu, 24 Dec 2015, Programmingkid wrote: On Dec 24, 2015, at 10:34 AM, Peter Maydell wrote: On 24 December 2015 at 01:00, Programmingkid wrote: I'm having problems with the pci_dma_read() function. When using a Mac OS X guest, the data that this function returns is all zeros. After doing a l

Re: [Qemu-devel] Where is the definition of struct TCGv_i32_d?

2015-12-24 Thread Peter Maydell
On 24 December 2015 at 22:19, farmdve wrote: > I've been looking and looking, but it must be defined via a macro, > I wish to see it's members. There is no such struct definition. The TCGv_i32, TCGv_i64, etc types are defined as pointers to structs like this so that we get some type-checking from

[Qemu-devel] Where is the definition of struct TCGv_i32_d?

2015-12-24 Thread farmdve
I've been looking and looking, but it must be defined via a macro, I wish to see it's members.

Re: [Qemu-devel] [PATCH 1/2] linux-user: Update m68k syscall definitions to match Linux 4.4.

2015-12-24 Thread John Paul Adrian Glaubitz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Laurent! Here are, as discussed previously, my proposed patches which change the following: PATCH 1/2 updates the syscall table for m68k to match Linux 4.4. This one should be very obvious. PATCH 2/2 adds the definitions for the socket calls SO

[Qemu-devel] [PATCH 2/2] linux-user: Add SOCKOP_sendmmsg and SOCKOP_recvmmsg socket call, wire them up.

2015-12-24 Thread John Paul Adrian Glaubitz
Signed-off-by: John Paul Adrian Glaubitz --- linux-user/syscall.c | 8 ++-- linux-user/syscall_defs.h | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 6c64ba6..dd6ed47 100644 --- a/linux-user/syscall.c +++ b/linux-us

[Qemu-devel] [PATCH 1/2] linux-user: Update m68k syscall definitions to match Linux 4.4.

2015-12-24 Thread John Paul Adrian Glaubitz
Signed-off-by: John Paul Adrian Glaubitz --- linux-user/m68k/syscall_nr.h | 27 +++ 1 file changed, 27 insertions(+) diff --git a/linux-user/m68k/syscall_nr.h b/linux-user/m68k/syscall_nr.h index 25f8521..a2daba0 100644 --- a/linux-user/m68k/syscall_nr.h +++ b/linux-user/

Re: [Qemu-devel] [PATCH 1/2] linux-user: Update m68k syscall definitions to match Linux 4.4.

2015-12-24 Thread Laurent Vivier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Le 24/12/2015 20:04, John Paul Adrian Glaubitz a écrit : > Hi Laurent! > > Here are, as discussed previously, my proposed patches which change > the following: > > PATCH 1/2 updates the syscall table for m68k to match Linux 4.4. > This one should

Re: [Qemu-devel] [PATCH 2/2] linux-user: Add SOCKOP_sendmmsg and SOCKOP_recvmmsg socket call, wire them up.

2015-12-24 Thread Laurent Vivier
Le 24/12/2015 19:59, John Paul Adrian Glaubitz a écrit : > Signed-off-by: John Paul Adrian Glaubitz > --- > linux-user/syscall.c | 8 ++-- > linux-user/syscall_defs.h | 2 ++ > 2 files changed, 8 insertions(+), 2 deletions(-) > > diff --git a/linux-user/syscall.c b/linux-user/syscall.

Re: [Qemu-devel] [PATCH 1/2] linux-user: Update m68k syscall definitions to match Linux 4.4.

2015-12-24 Thread Laurent Vivier
Le 24/12/2015 19:59, John Paul Adrian Glaubitz a écrit : > Signed-off-by: John Paul Adrian Glaubitz > --- > linux-user/m68k/syscall_nr.h | 27 +++ > 1 file changed, 27 insertions(+) > > diff --git a/linux-user/m68k/syscall_nr.h b/linux-user/m68k/syscall_nr.h > index 25f

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

2015-12-24 Thread Richard Henderson
On 12/24/2015 07:38 AM, Chen Gang wrote: On 12/24/15 06:51, Richard Henderson wrote: On 12/23/2015 01:48 PM, cheng...@emindsoft.com.cn wrote: +extern float_status fp_status; No. Locally declared in e.g. main_calc. OK, thanks. Since fp_status need to be initialized to be 0, so I will decl

Re: [Qemu-devel] [PATCH v14 Resend 08/13] vfio: add check host bus reset is support or not

2015-12-24 Thread Michael S. Tsirkin
On Thu, Dec 24, 2015 at 11:41:15AM -0700, Alex Williamson wrote: > On Thu, 2015-12-24 at 20:23 +0200, Michael S. Tsirkin wrote: > > On Thu, Dec 24, 2015 at 11:20:26AM -0700, Alex Williamson wrote: > > > On Thu, 2015-12-24 at 20:06 +0200, Michael S. Tsirkin wrote: > > > > On Thu, Dec 24, 2015 at 10:

Re: [Qemu-devel] [PATCH v14 Resend 08/13] vfio: add check host bus reset is support or not

2015-12-24 Thread Alex Williamson
On Thu, 2015-12-24 at 20:23 +0200, Michael S. Tsirkin wrote: > On Thu, Dec 24, 2015 at 11:20:26AM -0700, Alex Williamson wrote: > > On Thu, 2015-12-24 at 20:06 +0200, Michael S. Tsirkin wrote: > > > On Thu, Dec 24, 2015 at 10:47:06AM -0700, Alex Williamson wrote: > > > > On Thu, 2015-12-24 at 16:32

Re: [Qemu-devel] [PATCH v14 Resend 08/13] vfio: add check host bus reset is support or not

2015-12-24 Thread Michael S. Tsirkin
On Thu, Dec 24, 2015 at 11:20:26AM -0700, Alex Williamson wrote: > On Thu, 2015-12-24 at 20:06 +0200, Michael S. Tsirkin wrote: > > On Thu, Dec 24, 2015 at 10:47:06AM -0700, Alex Williamson wrote: > > > On Thu, 2015-12-24 at 16:32 +0200, Michael S. Tsirkin wrote: > > > > On Thu, Dec 17, 2015 at 09:

Re: [Qemu-devel] [PATCH v14 Resend 08/13] vfio: add check host bus reset is support or not

2015-12-24 Thread Alex Williamson
On Thu, 2015-12-24 at 20:06 +0200, Michael S. Tsirkin wrote: > On Thu, Dec 24, 2015 at 10:47:06AM -0700, Alex Williamson wrote: > > On Thu, 2015-12-24 at 16:32 +0200, Michael S. Tsirkin wrote: > > > On Thu, Dec 17, 2015 at 09:41:49AM +0800, Cao jin wrote: > > > > From: Chen Fan > > > > > > > > wh

Re: [Qemu-devel] [PATCH v14 Resend 08/13] vfio: add check host bus reset is support or not

2015-12-24 Thread Michael S. Tsirkin
On Thu, Dec 24, 2015 at 10:47:06AM -0700, Alex Williamson wrote: > On Thu, 2015-12-24 at 16:32 +0200, Michael S. Tsirkin wrote: > > On Thu, Dec 17, 2015 at 09:41:49AM +0800, Cao jin wrote: > > > From: Chen Fan > > > > > > when init vfio devices done, we should test all the devices > > > supported

Re: [Qemu-devel] [PATCH v14 Resend 08/13] vfio: add check host bus reset is support or not

2015-12-24 Thread Alex Williamson
On Thu, 2015-12-24 at 16:32 +0200, Michael S. Tsirkin wrote: > On Thu, Dec 17, 2015 at 09:41:49AM +0800, Cao jin wrote: > > From: Chen Fan > > > > when init vfio devices done, we should test all the devices > > supported > > aer whether conflict with others. For each one, get the hot reset > > in

qemu-devel@nongnu.org

2015-12-24 Thread Programmingkid
On Dec 24, 2015, at 10:34 AM, Peter Maydell wrote: > On 24 December 2015 at 01:00, Programmingkid > wrote: >> I'm having problems with the pci_dma_read() function. When using >> a Mac OS X guest, the data that this function returns is all zeros. >> After doing a lot of instruction tracing, I tr

[Qemu-devel] [Bug 1323758] Re: Mouse stops working when connected usb-storage-device

2015-12-24 Thread Ruben Portier
Glad to hear you solved they issue by reading this bug report, Maarten! As you can see the bug has been updated with the confirmed-status on October 21st of 2015 and I hope they can fix this a.s.a.p. I don't have a Windows-guest anymore, but even for all the other Qemu-users out there that do, I'd

Re: [Qemu-devel] [PATCH v4 2/4] target-tilegx: Add single floating point implementation

2015-12-24 Thread Chen Gang
On 12/24/15 07:07, Richard Henderson wrote: > On 12/23/2015 01:48 PM, cheng...@emindsoft.com.cn wrote: >> +static float32 sfmt_to_float32(uint64_t sfmt) >> +{ >> +uint32_t sign = get_fsingle_sign(sfmt); >> +uint32_t man = get_fsingle_man(sfmt); >> +uint32_t exp = get_fsingle_exp(sfmt);

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

2015-12-24 Thread Chen Gang
On 12/24/15 06:51, Richard Henderson wrote: > On 12/23/2015 01:48 PM, cheng...@emindsoft.com.cn wrote: >> +extern float_status fp_status; > > No. Locally declared in e.g. main_calc. > OK, thanks. Since fp_status need to be initialized to be 0, so I will declared it statically, too (need we con

qemu-devel@nongnu.org

2015-12-24 Thread Peter Maydell
On 24 December 2015 at 01:00, Programmingkid wrote: > I'm having problems with the pci_dma_read() function. When using > a Mac OS X guest, the data that this function returns is all zeros. > After doing a lot of instruction tracing, I tracked the problem to a > function called phys_page_find(). It

Re: [Qemu-devel] [PATCH] linux-user/mmap.c: Use end instead of real_end in target_mmap

2015-12-24 Thread Chen Gang
On 12/24/15 17:54, Laurent Vivier wrote: > > Le 24/12/2015 02:07, cheng...@emindsoft.com.cn a écrit : >> From: Chen Gang >> >> In this case, real_end is larger than end, which may cause mmap_frag >> process the incorrect memory region. >> >> Signed-off-by: Chen Gang >> --- >> linux-user/mmap.c

Re: [Qemu-devel] [PATCH v14 Resend 10/13] pci: add pci device pre-post reset callbacks for host bus reset

2015-12-24 Thread Michael S. Tsirkin
On Thu, Dec 24, 2015 at 01:10:25PM +0800, Chen Fan wrote: > > On 12/22/2015 05:07 AM, Alex Williamson wrote: > >On Fri, 2015-12-18 at 11:29 +0800, Chen Fan wrote: > >>On 12/18/2015 04:31 AM, Alex Williamson wrote: > >>>On Thu, 2015-12-17 at 09:41 +0800, Cao jin wrote: > From: Chen Fan >

Re: [Qemu-devel] [PATCH v14 Resend 08/13] vfio: add check host bus reset is support or not

2015-12-24 Thread Michael S. Tsirkin
On Thu, Dec 17, 2015 at 09:41:49AM +0800, Cao jin wrote: > From: Chen Fan > > when init vfio devices done, we should test all the devices supported > aer whether conflict with others. For each one, get the hot reset > info for the affected device list. For each affected device, all > should atta

Re: [Qemu-devel] [PATCH v2] kvm: Make vcpu->requests as 64 bit bitmap

2015-12-24 Thread Roman Kagan
On Thu, Dec 24, 2015 at 04:29:21PM +0300, Andrey Smetanin wrote: > Currently on x86 arch we has already 32 requests defined > so the newer request bits can't be placed inside > vcpu->requests(unsigned long) inside x86 32 bit system. > But we are going to add a new request in x86 arch > for Hyper-V

[Qemu-devel] [PATCH] trace: Fix format specifiers for existing arguments

2015-12-24 Thread valentin
From: Valentin Rakush This patch fixes compilation errors when --enable-trace-backend=stderr option is used for configuration GEN trace/generated-events.c CCtrace/generated-events.o In file included from /home/vrakush/workspace/qemu/include/trace.h:4:0, from trace/gen

Re: [Qemu-devel] [PATCH v1 1/2] kvm/x86: Hyper-V SynIC tracepoints

2015-12-24 Thread Roman Kagan
On Wed, Dec 23, 2015 at 04:53:59PM +0300, Andrey Smetanin wrote: > Trace the following Hyper SynIC events: > * set msr > * set sint irq > * ack sint > * sint irq eoi > > Signed-off-by: Andrey Smetanin > CC: Gleb Natapov > CC: Paolo Bonzini > CC: Roman Kagan > CC: Denis V. Lunev > CC: qemu-dev

[Qemu-devel] [PATCH v2] kvm: Make vcpu->requests as 64 bit bitmap

2015-12-24 Thread Andrey Smetanin
Currently on x86 arch we has already 32 requests defined so the newer request bits can't be placed inside vcpu->requests(unsigned long) inside x86 32 bit system. But we are going to add a new request in x86 arch for Hyper-V tsc page support. To solve the problem the patch replaces vcpu->requests b

Re: [Qemu-devel] [PATCH v1 2/2] kvm/x86: Hyper-V SynIC timers tracepoints

2015-12-24 Thread Roman Kagan
On Wed, Dec 23, 2015 at 04:54:00PM +0300, Andrey Smetanin wrote: > Trace the following Hyper SynIC timers events: > * periodic timer start > * one-shot timer start > * timer callback > * timer expiration and message delivery result > * timer config setup > * timer count setup > * timer cleanup > >

[Qemu-devel] [PATCH v3] igd-passthrough-i440FX: convert to realize()

2015-12-24 Thread Cao jin
Bonus: fix a bug that will result in config space value error Signed-off-by: Cao jin --- hw/pci-host/piix.c | 37 - 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/hw/pci-host/piix.c b/hw/pci-host/piix.c index 715208b..a37e93d 100644 --- a/hw/pc

Re: [Qemu-devel] [PATCH v1] kvm: Make vcpu->requests as 64 bit bitmap

2015-12-24 Thread Andrey Smetanin
On 12/24/2015 02:14 PM, Roman Kagan wrote: On Thu, Dec 24, 2015 at 12:30:26PM +0300, Andrey Smetanin wrote: Currently on x86 arch we has already 32 requests defined so the newer request bits can't be placed inside vcpu->requests(unsigned long) inside x86 32 bit system. But we are going to add

Re: [Qemu-devel] [PATCH v1] kvm: Make vcpu->requests as 64 bit bitmap

2015-12-24 Thread Roman Kagan
On Thu, Dec 24, 2015 at 12:30:26PM +0300, Andrey Smetanin wrote: > Currently on x86 arch we has already 32 requests defined > so the newer request bits can't be placed inside > vcpu->requests(unsigned long) inside x86 32 bit system. > But we are going to add a new request in x86 arch > for Hyper-V

Re: [Qemu-devel] [PATCH] spapr: Introduce SPAPR_COMPAT_2_5

2015-12-24 Thread Shmulik Ladkani
Hi, On Thu, 24 Dec 2015 19:25:27 +1100, da...@gibson.dropbear.id.au wrote: > On Wed, Dec 23, 2015 at 09:33:35PM +0200, Shmulik Ladkani wrote: > > In 240240d5 'pc: Add pc-*-2.6 machine classes' HW_COMPAT_2_5 and > > PC_COMPAT_2_5 were introduced. > > > > Accordingly, introduce SPAPR_COMPAT_2_5 tha

Re: [Qemu-devel] [PATCH 4/4] hw/ppc/spapr: fix spapr->kvm_type leak

2015-12-24 Thread David Gibson
On Wed, Dec 23, 2015 at 03:43:21PM +0800, Li Zhijian wrote: > Cc: David Gibson > Cc: Alexander Graf > Cc: qemu-...@nongnu.org > Signed-off-by: Li Zhijian Since the machine has a lifetime basically equal to the runtime of qemu, it's not a terribly important leak. Still, might as well get it rig

Re: [Qemu-devel] [PATCH] spapr vio: fix to incomplete QOMify

2015-12-24 Thread David Gibson
On Wed, Dec 23, 2015 at 07:30:12PM +0800, Cao jin wrote: > Signed-off-by: Cao jin Applied to my ppc-for-2.6 queue, thanks. > --- > hw/ppc/spapr_vio.c | 12 +--- > include/hw/ppc/spapr_vio.h | 2 +- > 2 files changed, 6 insertions(+), 8 deletions(-) > > diff --git a/hw/ppc/spap

Re: [Qemu-devel] [PATCH] spapr: Introduce SPAPR_COMPAT_2_5

2015-12-24 Thread David Gibson
On Wed, Dec 23, 2015 at 09:33:35PM +0200, Shmulik Ladkani wrote: > In 240240d5 'pc: Add pc-*-2.6 machine classes' HW_COMPAT_2_5 and > PC_COMPAT_2_5 were introduced. > > Accordingly, introduce SPAPR_COMPAT_2_5 that uses HW_COMPAT_2_5. > > Signed-off-by: Shmulik Ladkani Sorry, this needs to be re

Re: [Qemu-devel] [PATCH v6] spec: add qcow2 bitmaps extension specification

2015-12-24 Thread Vladimir Sementsov-Ogievskiy
On 24.12.2015 01:31, Max Reitz wrote: On 23.12.2015 18:49, Vladimir Sementsov-Ogievskiy wrote: The new feature for qcow2: storing bitmaps. This patch adds new header extension to qcow2 - Bitmaps Extension. It provides an ability to store virtual disk related bitmaps in a qcow2 image. For now th

Re: [Qemu-devel] [PATCH v6] spec: add qcow2 bitmaps extension specification

2015-12-24 Thread Vladimir Sementsov-Ogievskiy
On 24.12.2015 02:41, Eric Blake wrote: On 12/23/2015 10:49 AM, Vladimir Sementsov-Ogievskiy wrote: The new feature for qcow2: storing bitmaps. This patch adds new header extension to qcow2 - Bitmaps Extension. It provides an ability to store virtual disk related bitmaps in a qcow2 image. For no

Re: [Qemu-devel] [PATCH 7/7] qemu-img: allow specifying image as a set of options args

2015-12-24 Thread Daniel P. Berrange
On Wed, Dec 23, 2015 at 03:20:18PM -0500, Paolo Bonzini wrote: > > > - Original Message - > > From: "Daniel P. Berrange" > > To: "Paolo Bonzini" > > Cc: "Eric Blake" , "Kevin Wolf" , > > qemu-bl...@nongnu.org, qemu-devel@nongnu.org, > > "Markus Armbruster" , "Andreas Färber" > > Sent:

Re: [Qemu-devel] [PATCH] linux-user/mmap.c: Use end instead of real_end in target_mmap

2015-12-24 Thread Laurent Vivier
Le 24/12/2015 02:07, cheng...@emindsoft.com.cn a écrit : > From: Chen Gang > > In this case, real_end is larger than end, which may cause mmap_frag > process the incorrect memory region. > > Signed-off-by: Chen Gang > --- > linux-user/mmap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deleti

Re: [Qemu-devel] [PATCH v1] kvm: Make vcpu->requests as 64 bit bitmap

2015-12-24 Thread James Hogan
Hi Andrey, On Thu, Dec 24, 2015 at 12:30:26PM +0300, Andrey Smetanin wrote: > Currently on x86 arch we has already 32 requests defined > so the newer request bits can't be placed inside > vcpu->requests(unsigned long) inside x86 32 bit system. > But we are going to add a new request in x86 arch >

[Qemu-devel] [PATCH v1] kvm/x86: Hyper-V tsc page setup

2015-12-24 Thread Andrey Smetanin
Lately tsc page was implemented but filled with empty values. This patch setup tsc page scale and offset based on vcpu tsc, tsc_khz and HV_X64_MSR_TIME_REF_COUNT value. The valid tsc page drops HV_X64_MSR_TIME_REF_COUNT msr reads count to zero which potentially improves performance. The patch ap

[Qemu-devel] [PATCH v1] kvm: Make vcpu->requests as 64 bit bitmap

2015-12-24 Thread Andrey Smetanin
Currently on x86 arch we has already 32 requests defined so the newer request bits can't be placed inside vcpu->requests(unsigned long) inside x86 32 bit system. But we are going to add a new request in x86 arch for Hyper-V tsc page support. To solve the problem the patch replaces vcpu->requests b

[Qemu-devel] [PATCH v2 2/2] change type of pci_bridge_initfn() to void

2015-12-24 Thread Cao jin
It always return 0(success), change its type to void, and modify the callers. So it can reduce a error path of its callers. Signed-off-by: Cao jin --- hw/pci-bridge/i82801b11.c | 5 + hw/pci-bridge/ioh3420.c| 6 +- hw/pci-bridge/pci_bridge_dev.c | 8 +++- hw/

Re: [Qemu-devel] [PATCH] change type of pci_bridge_initfn() to void

2015-12-24 Thread Cao jin
On 12/24/2015 02:24 PM, Michael S. Tsirkin wrote: On Thu, Dec 24, 2015 at 11:39:00AM +0800, Cao jin wrote: Hi mst On 12/23/2015 09:38 PM, Michael S. Tsirkin wrote: On Wed, Dec 23, 2015 at 04:53:21PM +0800, Cao jin wrote: Hi mst friendly ping again... This does not work since then this fun

Re: [Qemu-devel] [PATCH v14 Resend 10/13] pci: add pci device pre-post reset callbacks for host bus reset

2015-12-24 Thread Chen Fan
On 12/22/2015 05:07 AM, Alex Williamson wrote: On Fri, 2015-12-18 at 11:29 +0800, Chen Fan wrote: On 12/18/2015 04:31 AM, Alex Williamson wrote: On Thu, 2015-12-17 at 09:41 +0800, Cao jin wrote: From: Chen Fan Particularly, For vfio devices, Once need to recovery devices by bus reset such a

[Qemu-devel] [PATCH v2 1/2] dec: convert to realize()

2015-12-24 Thread Cao jin
Signed-off-by: Cao jin --- hw/pci-bridge/dec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/pci-bridge/dec.c b/hw/pci-bridge/dec.c index 28d0ff9..be0fc46 100644 --- a/hw/pci-bridge/dec.c +++ b/hw/pci-bridge/dec.c @@ -51,9 +51,9 @@ static int dec_map_irq(PCIDevice *

[Qemu-devel] [PATCH v2 0/2] change type of pci_bridge_initfn()

2015-12-24 Thread Cao jin
V2 changelog 1. make "dec convert to realize" the 1st patch, so these two could be independent from each other. Cao jin (2): dec: convert to realize() change type of pci_bridge_initfn() to void hw/pci-bridge/dec.c| 6 +++--- hw/pci-bridge/i82801b11.c | 5 + hw

Re: [Qemu-devel] [PATCH v14 Resend 10/13] pci: add pci device pre-post reset callbacks for host bus reset

2015-12-24 Thread Chen Fan
Hi mst, thanks for your suggestion. I have replied it in another alex's email. so we could discuss it in there.;) Thanks, Chen On 12/23/2015 08:00 PM, Michael S. Tsirkin wrote: On Thu, Dec 17, 2015 at 09:41:51AM +0800, Cao jin wrote: From: Chen Fan Particularly, For vfio devices, Once n

[Qemu-devel] [PATCH v2 2/2] change type of pci_bridge_initfn() to void

2015-12-24 Thread Cao jin
It always return 0(success), change its type to void, and modify the callers. So it can reduce a error path of its callers. Cc: m...@redhat.com Signed-off-by: Cao jin --- hw/pci-bridge/i82801b11.c | 5 + hw/pci-bridge/ioh3420.c| 6 +- hw/pci-bridge/pci_bridge_dev.c

[Qemu-devel] [PATCH v2 1/2] dec: convert to realize()

2015-12-24 Thread Cao jin
Cc: ag...@suse.de Cc: m...@redhat.com Cc: qemu-...@nongnu.org Signed-off-by: Cao jin --- hw/pci-bridge/dec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/pci-bridge/dec.c b/hw/pci-bridge/dec.c index 28d0ff9..be0fc46 100644 --- a/hw/pci-bridge/dec.c +++ b/hw/pci-br

[Qemu-devel] [PATCH v2 0/2] change type of pci_bridge_initfn()

2015-12-24 Thread Cao jin
V2 changelog 1. Cao jin (2): dec: convert to realize() change type of pci_bridge_initfn() to void hw/pci-bridge/dec.c| 6 +++--- hw/pci-bridge/i82801b11.c | 5 + hw/pci-bridge/ioh3420.c| 6 +- hw/pci-bridge/pci_bridge_dev.c | 8 +++- hw/p