Re: [Qemu-devel] Proposal for deprecating unsupported host OSes & architecutures

2017-03-25 Thread Peter Maydell
On 25 March 2017 at 20:49, Knut Omang wrote: > Can we please keep the Sparc support in for a while still? Yes, John Paul Adrian Glaubitz and the Debian Project have kindly provided me with access to a Sparc box. I'm planning to send a patch that puts sparc into the

Re: [Qemu-devel] Proposal for deprecating unsupported host OSes & architecutures

2017-03-25 Thread Knut Omang
On Thu, 2017-03-16 at 15:23 +, Peter Maydell wrote: > OK, here's a concrete proposal for deprecating/dropping out of > date host OS and architecture support. > > We'll put this in the ChangeLog 'Future incompatible changes' > section: > - > * Removal of support for untested host OS and

Re: [Qemu-devel] [PATCH] win32: replace custom mutex and condition variable with native primitives

2017-03-25 Thread Andrey Shedel
> From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Saturday, March 25, 2017 3:14 > > - Original Message - > > From: "Andrew Baumann" > > To: "Paolo Bonzini" > > Cc: "Andrey Shedel" , "Stefan Weil" > >

[Qemu-devel] GSoC 2017 Proposal: TCG performance enhancements

2017-03-25 Thread Pranith Kumar
Hello, With MTTCG code now merged in mainline, I tried to see if we are able to run x86 SMP guests on ARM64 hosts. For this I tried running a windows XP guest on a dragonboard 410c which has 1GB RAM. Since x86 has a strong memory model whereas ARM64 is a weak memory model, I added a patch to

Re: [Qemu-devel] [PATCH] win32: replace custom mutex and condition variable with native primitives

2017-03-25 Thread Paolo Bonzini
- Original Message - > From: "Andrew Baumann" > To: "Paolo Bonzini" > Cc: "Andrey Shedel" , "Stefan Weil" > , qemu-devel@nongnu.org > Sent: Saturday, March 25, 2017 12:14:20 AM > Subject: Re:

[Qemu-devel] [PATCH] Fix input-linux reading from device

2017-03-25 Thread Javier Celaya
The evdev devices in input-linux.c are read in blocks of one whole event. If there are not enough bytes available, they are discarded, instead of being kept for the next read operation. This results in lost events, of even non-working devices. This patch keeps track of the number of bytes to be

Re: [Qemu-devel] [Qemu-arm] [patch 1/1]about armv8's prefetch decode

2017-03-25 Thread Peter Maydell
On 25 March 2017 at 02:22, Wangjintang wrote: > the patch regard the prefetch as load instruction, at the same time > don't affect rm/rt register. Only the PRFM instruction been emitted to > intermediate code and do a really load, then we can get the memory > address

[Qemu-devel] [PATCH v2 5/7] vmdk: Rename get_cluster_offset() to vmdk_get_cluster_offset()

2017-03-25 Thread Ashijeet Acharya
Rename the existing get_cluster_offset() function to vmdk_get_cluster_offset() and have it make use of the new get_cluster_table() to load the cluster tables. Also, it is no longer used to allocate new clusters and hence perform COW. Make the necessary renames at all the occurrences of

[Qemu-devel] [PATCH v2 7/7] vmdk: Update metadata for multiple clusters

2017-03-25 Thread Ashijeet Acharya
Include a next pointer in VmdkMetaData struct to point to the previous allocated L2 table. Modify vmdk_L2update to start updating metadata for allocation of multiple clusters at once. Signed-off-by: Ashijeet Acharya --- block/vmdk.c | 131

[Qemu-devel] [PATCH v2 6/7] vmdk: Allocate multiple clusters at once

2017-03-25 Thread Ashijeet Acharya
Get vmdk_pwritev() to make use of the new multiple cluster allocation helper functions to allocate multiple clusters at once. Set the maximum bytes allowed to get allocated at once to be not more than the extent size boundary to handle writes at two separate extents appropriately. Signed-off-by:

[Qemu-devel] [PATCH v2 2/7] vmdk: Rename get_whole_cluster() to vmdk_perform_cow()

2017-03-25 Thread Ashijeet Acharya
Rename the existing function get_whole_cluster() to vmdk_perform_cow() as its sole purpose is to perform COW for the first and the last allocated clusters if needed. Signed-off-by: Ashijeet Acharya --- block/vmdk.c | 21 + 1 file changed, 13

[Qemu-devel] [PATCH v2 4/7] vmdk: New functions to allocate multiple clusters and cluster offset

2017-03-25 Thread Ashijeet Acharya
Introduce two new helper functions handle_alloc() and vmdk_alloc_cluster_offset(). handle_alloc() helps to allocate multiple clusters at once starting from a given offset on disk and performs COW if necessary for first and last allocated clusters. vmdk_alloc_cluster_offset() helps to return the

[Qemu-devel] [PATCH v2 3/7] vmdk: Factor out metadata loading code out of get_cluster_offset()

2017-03-25 Thread Ashijeet Acharya
Move the cluster tables loading code out of the existing get_cluster_offset() function and implement it in separate get_cluster_table() and vmdk_L2load() functions. This patch will help us avoid code duplication in future patches of this series. Signed-off-by: Ashijeet Acharya

[Qemu-devel] [PATCH v2 0/7] Optiomize VMDK I/O by allocating multiple clusters

2017-03-25 Thread Ashijeet Acharya
Previously posted series patches: http://lists.nongnu.org/archive/html/qemu-devel/2017-03/msg02044.html This series helps to optimize the I/O performance of VMDK driver. Patch 1 helps us to refactor and introduce some new helper functions. Patch 2 performs a simple function re-naming task.

[Qemu-devel] [PATCH v2 1/7] vmdk: Refactor and introduce new helper functions

2017-03-25 Thread Ashijeet Acharya
Move the existing vmdk_find_offset_in_cluster() function to the top of the driver. Also, introduce a new helper function size_to_clusters() which returns the number of clusters for a given size in bytes. Here, we leave the last cluster as we need to perform COW for that one. Signed-off-by:

[Qemu-devel] [PATCH] KVM: unmap SMM memslots in vt-d table

2017-03-25 Thread herongguang
or pages are not unmaped and freed Signed-off-by: herongguang --- arch/x86/kvm/iommu.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) Well, do we should change pci-assign to not map SMM slots instead? Like vfio. diff --git a/arch/x86/kvm/iommu.c

Re: [Qemu-devel] [Qemu-trivial] [PATCH] ppc_booke: drop useless assignment

2017-03-25 Thread Laurent Vivier
Le 24/03/2017 à 13:55, fred.kon...@greensocs.com a écrit : > From: KONRAD Frederic > > The tb_env variable is set two lines above. So just drop the double > assignment. > > Signed-off-by: KONRAD Frederic > --- > hw/ppc/ppc_booke.c | 1 - >

Re: [Qemu-devel] [Qemu-ppc] Bug in qemu-system-ppc in Windows using the SDL2 GUI

2017-03-25 Thread luigi burdo
Hi Thomas, i will check ASAP in launch break. Ciao Luigi >Luigi, could you please try Alex' patch to see whether it fixes your crash? > Thanks, >Thomas