Re: [Qemu-devel] [PATCH] i386: Allow monitor / mwait cpuid override

2018-02-28 Thread Paolo Bonzini
On 28/02/2018 00:55, Alexander Graf wrote: > > > On 27.02.18 10:52, Gonglei (Arei) wrote: >> Hi all, >> >> Guests could achive good performance in 'Message Passing Workloads' >> scenarios when knowing the X86_FEATURE_MWAIT feature which is presented by >> qemu. >> the reason is that after

Re: [Qemu-devel] [patches] Re: [PULL] RISC-V QEMU Port Submission

2018-02-28 Thread Peter Maydell
On 28 February 2018 at 00:09, Michael Clark wrote: > I've just talked to SiFive about this. They have agreed that we can remove > the sifive_e300 and sifive_u500 boards from the patch series that we are > going to submit upstream again later this week or early next week. These >

Re: [Qemu-devel] [patches] Re: [PULL] RISC-V QEMU Port Submission

2018-02-28 Thread Peter Maydell
On 28 February 2018 at 11:53, Peter Maydell wrote: > With my 'upstream dev' hat on, I tend to be suspicious of this > line of argument, because in a lot of cases what tends to happen > is that the code for some new target or device goes in-tree, and > then the people who

[Qemu-devel] [PULL 11/11] curses: build as ui module

2018-02-28 Thread Gerd Hoffmann
Also drop curses libs from libs_softmmu. Add CURSES_{CFLAGS,LIBS} variables so we can use them for linking the curses module. Shared library dependencies dropped from qemu-system-*: libncursesw.so.5 => /lib64/libncursesw.so.5 libtinfo.so.5 => /lib64/libtinfo.so.5 Signed-off-by: Gerd Hoffmann

Re: [Qemu-devel] [PATCH v2 05/16] block/mirror: Convert to coroutines

2018-02-28 Thread Max Reitz
On 2018-02-28 15:13, Max Reitz wrote: > On 2018-02-27 08:44, Fam Zheng wrote: >> On Mon, 01/22 23:07, Max Reitz wrote: >>> @@ -101,7 +105,7 @@ static BlockErrorAction >>> mirror_error_action(MirrorBlockJob *s, bool read, >>> } >>> } >>> >>> -static void mirror_iteration_done(MirrorOp *op,

[Qemu-devel] [Bug 1751494] Re: tag-target.inc.c:3495:no such instruction: `xgetbv'

2018-02-28 Thread John Arbuckle
The exact commit that causes this problem is this: commit 770c2fc7bb70804ae9869995fd02dadd6d7656ac tcg/i386: Add vector operations -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1751494 Title:

Re: [Qemu-devel] [PATCH v3 5/9] QAPI: allow to specify valid runstates per command

2018-02-28 Thread Igor Mammedov
On Tue, 27 Feb 2018 16:10:31 -0600 Eric Blake wrote: > On 02/16/2018 06:37 AM, Igor Mammedov wrote: > > Add optional 'runstates' parameter in QAPI command definition, > > which will permit to specify RunState variations in which > > a command could be exectuted via QMP

[Qemu-devel] [PATCH] decodetree: Propagate return value from translate subroutines

2018-02-28 Thread Richard Henderson
Allow the translate subroutines to return false for invalid insns. At present we can of course invoke an invalid insn exception from within the translate subroutine, but in the short term this consolidates code. In the long term it would allow the decodetree language to support overlapping

Re: [Qemu-devel] [Qemu-arm] [PATCH v4 00/31] Add ARMv8.2 half-precision functions

2018-02-28 Thread Richard Henderson
On 02/28/2018 07:02 AM, Peter Maydell wrote: > Do you have a feel for how much work the AArch32 side is? Based on my experience adding fcmla support to aa32, probably less than a week. r~

Re: [Qemu-devel] [RFC v4 15/21] blockjobs: add prepare callback

2018-02-28 Thread Kevin Wolf
Am 24.02.2018 um 00:51 hat John Snow geschrieben: > Some jobs upon finalization may need to perform some work that can > still fail. If these jobs are part of a transaction, it's important > that these callbacks fail the entire transaction. > > We allow for a new callback in addition to

[Qemu-devel] [RISU 1/3] Add aa64 sqrdml[as]h

2018-02-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- aarch64.risu | 24 1 file changed, 24 insertions(+) diff --git a/aarch64.risu b/aarch64.risu index 02e9183..c1a29f6 100644 --- a/aarch64.risu +++ b/aarch64.risu @@ -2932,6 +2932,30 @@ FCVTZUsi A64_V sf:1

[Qemu-devel] [Bug 1681404] Re: hw/ppc: Aborted (core dumped)

2018-02-28 Thread Fabiano Rosas
This is addressed by commit: "f7d6bfc spapr_pci: fail gracefully with non-pseries machine types" $ ./v2.11.0-1421-g7d84845/bin/qemu-system-ppc64 -S -machine ppce500,accel=tcg -device spapr-pci-host-bridge qemu-system-ppc64: -device spapr-pci-host-bridge: spapr-pci-host-bridge needs a pseries

Re: [Qemu-devel] [RFC v4 14/21] blockjobs: add block_job_txn_apply function

2018-02-28 Thread Kevin Wolf
Am 24.02.2018 um 00:51 hat John Snow geschrieben: > Simply apply a function transaction-wide. > A few more uses of this in forthcoming patches. > > Signed-off-by: John Snow > --- > blockjob.c | 24 +++- > 1 file changed, 15 insertions(+), 9 deletions(-) >

[Qemu-devel] [RISU 0/3] ARM additions for v8.1-simd and v8.3-compnum

2018-02-28 Thread Richard Henderson
I've rebased these onto master. There don't seem to be any consistent examples of how extensions are to be named in this new group-enabled world, but it's my opinion that the bike shed should be green. Since fp16 support is not yet present on the AArch32 side, I have disabled generation of those

[Qemu-devel] [RISU 2/3] Add aa64 fcadd + fcmla

2018-02-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- aarch64.risu | 13 + 1 file changed, 13 insertions(+) diff --git a/aarch64.risu b/aarch64.risu index c1a29f6..a5c92e9 100644 --- a/aarch64.risu +++ b/aarch64.risu @@ -2956,6 +2956,19 @@ SQRDMLSHse A64_V81 0111

[Qemu-devel] [RISU 3/3] Add arm and thumb vqrdml[as]h, vcadd, vcmla

2018-02-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- arm.risu | 25 + thumb.risu | 25 + 2 files changed, 50 insertions(+) diff --git a/arm.risu b/arm.risu index 13ea019..af73345 100644 --- a/arm.risu +++ b/arm.risu @@ -831,3

[Qemu-devel] [PATCH] migration: Fix block failure cases

2018-02-28 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" This fixes a couple of cases where the block migration capability doesn't get cleared when a migration failed. 1) When block migration is compiled out: (qemu) migrate -d -b "exec:cat > /dev/null" QEMU compiled without old-style (blk/-b,

Re: [Qemu-devel] [PATCH v2 1/5] target/i386: Fix a minor typo found while reviwing

2018-02-28 Thread Radim Krčmář
2018-02-23 21:30-0500, Babu Moger: > Changed KVM_CPUID_FLAG_SIGNIFCANT_INDEX to KVM_CPUID_FLAG_SIGNIFICANT_INDEX > > Signed-off-by: Babu Moger > --- > linux-headers/asm-x86/kvm.h | 2 +- > target/i386/kvm.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-)

Re: [Qemu-devel] [PATCH 04/14] migration: let incoming side use thread context

2018-02-28 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > The old incoming migration is running in main thread and default > gcontext. With the new qio_channel_add_watch_full() we can now let it > run in the thread's own gcontext (if there is one). > > Currently this patch does nothing alone. But when any of the

Re: [Qemu-devel] [RFC v4 16/21] blockjobs: add waiting status

2018-02-28 Thread Kevin Wolf
Am 27.02.2018 um 21:50 hat John Snow geschrieben: > > > On 02/27/2018 03:00 PM, Eric Blake wrote: > > On 02/23/2018 05:51 PM, John Snow wrote: > >> For jobs that are stuck waiting on others in a transaction, it would > >> be nice to know that they are no longer "running" in that sense, but > >>

Re: [Qemu-devel] [PATCH v3] iotests: Fix CID for VMDK afl image

2018-02-28 Thread Max Reitz
On 2018-02-02 06:23, Fam Zheng wrote: > This reverts commit 76bf133c4 which updated the reference output, and > fixed the reference image, because the code path we want to exercise is > actually the invalid image size. > > The descriptor block in the image, which includes the CID to verify, has

Re: [Qemu-devel] [RFC v4 17/21] blockjobs: add PENDING status and event

2018-02-28 Thread Kevin Wolf
Am 24.02.2018 um 00:51 hat John Snow geschrieben: > For jobs utilizing the new manual workflow, we intend to prohibit > them from modifying the block graph until the management layer provides > an explicit ACK via block-job-finalize to move the process forward. > > To distinguish this runstate

[Qemu-devel] [PATCH V7 1/4] rules: Move cross compilation auto detection functions to rules.mak

2018-02-28 Thread Wei Huang
This patch moves the auto detection functions for cross compilation from roms/Makefile to rules.mak. So the functions can be shared among Makefiles in QEMU. Signed-off-by: Wei Huang Reviewed-by: Andrew Jones --- roms/Makefile | 24 +++-

[Qemu-devel] [PATCH V7 2/4] tests/migration: Convert the boot block compilation script into Makefile

2018-02-28 Thread Wei Huang
The x86 boot block header currently is generated with a shell script. To better support other CPUs (e.g. aarch64), we convert the script into Makefile. This allows us to 1) support cross-compilation easily, and 2) avoid creating a script file for every architecture. Signed-off-by: Wei Huang

[Qemu-devel] [PATCH V7 0/4] tests: Add migration test for aarch64

2018-02-28 Thread Wei Huang
This patchset adds a migration test for aarch64. It leverages Dave Gilbert's recent patch "tests/migration: Add source to PC boot block" to create a new test case for aarch64. V6->V7: * Define test memory start/end addresses for all architectures * Check aarch64 kernel binary size, limit under

[Qemu-devel] [PATCH v3 02/16] block: BDS deletion in bdrv_do_drained_begin()

2018-02-28 Thread Max Reitz
Draining a BDS (in the main loop) may cause it to go be deleted. That is rather suboptimal if we still plan to access it afterwards, so let us enclose the main body of the function with a bdrv_ref()/bdrv_unref() pair. Signed-off-by: Max Reitz --- block/io.c | 19

[Qemu-devel] [PATCH V7 3/4] tests/migration: Add migration-test header file

2018-02-28 Thread Wei Huang
This patch moves the settings related migration-test from the migration-test.c file to a seperate header file. It also renames the x86-a-b-bootblock.s file extension from .s to .S, allowing gcc pre-processor to include the C-style header file correctly. Signed-off-by: Wei Huang

[Qemu-devel] [PATCH v3 09/16] block: Generalize should_update_child() rule

2018-02-28 Thread Max Reitz
Currently, bdrv_replace_node() refuses to create loops from one BDS to itself if the BDS to be replaced is the backing node of the BDS to replace it: Say there is a node A and a node B. Replacing B by A means making all references to B point to A. If B is a child of A (i.e. A has a reference to

Re: [Qemu-devel] [PATCH v2 5/5] s390x/cpumodel: Set up CPU model for AP device support

2018-02-28 Thread David Hildenbrand
> KVM detects whether the AP instructions are installed on the host. If > the instructions are installed, the feature is allowed (enabled) and > can be turned on by userspace (QEMU). As mentioned in the KVM thread, I'd like to verify if there is not a AP interpretation facility. >> >> IOW: is

Re: [Qemu-devel] [PATCH v2 5/5] s390x/cpumodel: Set up CPU model for AP device support

2018-02-28 Thread David Hildenbrand
> The ap_bus has a function for determining if the ap instructions are > installed. I think it's basically trial execution. > Okay, just like CMM. Bad system design. But it is what it is. >> > > I think it's best modeled with a CPU model feature. In the end > it's about having or not having

Re: [Qemu-devel] [PATCH v2 3/3] virtio-balloon: add a timer to limit the free page report waiting time

2018-02-28 Thread Wei Wang
On 02/27/2018 09:08 PM, Liang Li wrote: On Tue, Feb 27, 2018 at 06:10:47PM +0800, Wei Wang wrote: On 02/27/2018 08:50 AM, Michael S. Tsirkin wrote: On Mon, Feb 26, 2018 at 12:35:31PM +0800, Wei Wang wrote: On 02/09/2018 08:15 PM, Dr. David Alan Gilbert wrote: * Wei Wang

Re: [Qemu-devel] [PATCH v2 3/3] virtio-balloon: add a timer to limit the free page report waiting time

2018-02-28 Thread Wei Wang
On 02/27/2018 06:34 PM, Dr. David Alan Gilbert wrote: * Wei Wang (wei.w.w...@intel.com) wrote: On 02/09/2018 08:15 PM, Dr. David Alan Gilbert wrote: * Wei Wang (wei.w.w...@intel.com) wrote: This patch adds a timer to limit the time that host waits for the free page hints reported by the

Re: [Qemu-devel] Deprecate tilegx ?

2018-02-28 Thread Thomas Huth
On 28.02.2018 08:17, Paolo Bonzini wrote: > On 28/02/2018 07:11, Thomas Huth wrote: >> On 27.02.2018 12:51, Peter Maydell wrote: >>> I propose that we deprecate and plan to remove the unicore32 code: >> [...] >>> Essentially, it seems to be a largely-inactive university R project, >>> it's costing

Re: [Qemu-devel] [patches] Re: [PULL] RISC-V QEMU Port Submission

2018-02-28 Thread Igor Mammedov
On Wed, 28 Feb 2018 13:41:25 +1300 Michael Clark wrote: > On Wed, Feb 28, 2018 at 5:00 AM, Igor Mammedov wrote: > > > On Tue, 27 Feb 2018 14:01:05 + > > Peter Maydell wrote: > > > > > On 27 February 2018 at 00:15, Michael

[Qemu-devel] [PATCH v3 0/4] target/arm: Add a dynamic XML-description of the cp-registers to GDB

2018-02-28 Thread Abdallah Bouassida
The last exchange: https://lists.gnu.org/archive/html/qemu-devel/2018-02/msg03618.html - Add a new "ARM_CP_NO_GDB" bit field and enable it when creating CP_ANY wildcard aliases. - Add "_S" suffix to the secure version of a sysreg and fix the reg names that were manually containing (S) or

Re: [Qemu-devel] [qemu-s390x] [PATCH] hw/s390x: Add the possibility to specify the netboot image on the command line

2018-02-28 Thread David Hildenbrand
On 27.02.2018 12:32, Thomas Huth wrote: > The file name of the netboot binary is currently hard-coded to > "s390-netboot.img", without a possibility for the user to select > an alternative firmware image here. That's unfortunate, especially > since the basics are already there: The filename is a

Re: [Qemu-devel] [PATCH v4 2/5] qcow2: Document some maximum size constraints

2018-02-28 Thread Alberto Garcia
On Tue 27 Feb 2018 05:29:41 PM CET, Eric Blake wrote: > +The refcount table has implications on the maximum host file size; a > +larger cluster size is required for the refcount table to cover > larger +offsets. Why is this? Because of the refcount_table_clusters field ? I think the maximum

[Qemu-devel] [PATCH v3 2/4] target/arm: Add "_S" suffix to the secure version of a sysreg

2018-02-28 Thread Abdallah Bouassida
This is a preparation for the coming feature of creating dynamically an XML description for the ARM sysregs. Add "_S" suffix to the secure version of sysregs that have both S and NS views Replace (S) and (NS) by _S and _NS for the register that are manually defined, so all the registers follow the

[Qemu-devel] [PATCH v3 1/4] target/arm: Add "ARM_CP_NO_GDB" as a new bit field for ARMCPRegInfo type

2018-02-28 Thread Abdallah Bouassida
This is a preparation for the coming feature of creating dynamically an XML description for the ARM sysregs. A register has ARM_CP_NO_GDB enabled will not be shown in the dynamic XML. This bit is enabled automatically when creating CP_ANY wildcard aliases. This bit could be enabled manually for

[Qemu-devel] [PATCH v3 4/4] target/arm: Add arm_gdb_set_sysreg() callback

2018-02-28 Thread Abdallah Bouassida
This is a callback to set the cp-regs registered by the dynamic XML. Signed-off-by: Abdallah Bouassida --- >> Some of our customers need to connect to Qemu using our tool TRACE32® >> via GDB, >> and for some use case they need to have write access to some

[Qemu-devel] [PATCH v3 3/4] target/arm: Add the XML dynamic generation

2018-02-28 Thread Abdallah Bouassida
Generate an XML description for the cp-regs. Register these regs with the gdb_register_coprocessor(). Add arm_gdb_get_sysreg() to use it as a callback to read those regs. Signed-off-by: Abdallah Bouassida --- gdbstub.c| 7 include/qom/cpu.h

[Qemu-devel] [PULL 06/11] console: add and use qemu_display_find_default

2018-02-28 Thread Gerd Hoffmann
Using the new display registry instead of #ifdefs in vl.c. Signed-off-by: Gerd Hoffmann Message-id: 20180221131537.31341-7-kra...@redhat.com --- include/ui/console.h | 1 + ui/console.c | 19 +++ vl.c | 15 +-- 3 files

[Qemu-devel] [PULL 04/11] curses: switch over to new display registry

2018-02-28 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Message-id: 20180221131537.31341-5-kra...@redhat.com --- include/ui/console.h | 12 ui/curses.c | 14 +- vl.c | 17 ++--- 3 files changed, 15 insertions(+), 28 deletions(-) diff --git

[Qemu-devel] [PULL 05/11] egl-headless: switch over to new display registry

2018-02-28 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Message-id: 20180221131537.31341-6-kra...@redhat.com --- include/ui/console.h | 3 --- ui/egl-headless.c| 20 +++- vl.c | 12 3 files changed, 19 insertions(+), 16 deletions(-) diff --git

[Qemu-devel] [PULL 10/11] gtk: build as ui module

2018-02-28 Thread Gerd Hoffmann
Also drop gtk and vte libs from libs_softmmu, so the libs are not pulled in unless the gtk module actually gets loaded. Shared library dependencies dropped from qemu-system-*: libEGL.so.1 => /lib64/libEGL.so.1 libGL.so.1 => /lib64/libGL.so.1 libXcomposite.so.1 => /lib64/libXcomposite.so.1

[Qemu-devel] [PULL 02/11] sdl: switch over to new display registry

2018-02-28 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Message-id: 20180221131537.31341-3-kra...@redhat.com --- include/ui/console.h | 19 --- ui/sdl.c | 24 +--- ui/sdl2.c| 17 +++-- vl.c | 15 +-- 4

[Qemu-devel] [PULL 08/11] configure: add X11 vars to config-host.mak

2018-02-28 Thread Gerd Hoffmann
Simplifies handling the X11 dependency, also makes ui/Makefile.objs more readable. Signed-off-by: Gerd Hoffmann Message-id: 20180221131537.31341-9-kra...@redhat.com --- configure| 10 -- ui/Makefile.objs | 5 - 2 files changed, 12 insertions(+), 3

[Qemu-devel] [PULL 03/11] cocoa: switch over to new display registry

2018-02-28 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Message-id: 20180221131537.31341-4-kra...@redhat.com --- include/ui/console.h | 12 vl.c | 3 --- ui/cocoa.m | 14 +- 3 files changed, 13 insertions(+), 16 deletions(-) diff --git

[Qemu-devel] [PULL 07/11] console: add ui module loading support

2018-02-28 Thread Gerd Hoffmann
If a requested user interface is not available, try loading it as module, simliar to block layer modules. Needed to keep things working when followup patches start to build user interfaces as modules. Signed-off-by: Gerd Hoffmann Message-id:

[Qemu-devel] [PULL 09/11] configure: opengl doesn't depend on x11

2018-02-28 Thread Gerd Hoffmann
So remove x11 from pkg-config check and don't add x11 cflags/libs to opengl cflags/libs. Signed-off-by: Gerd Hoffmann Message-id: 20180221131537.31341-10-kra...@redhat.com --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure

Re: [Qemu-devel] [PATCH v4 3/5] qcow2: Reduce REFT_OFFSET_MASK

2018-02-28 Thread Alberto Garcia
On Tue 27 Feb 2018 05:29:42 PM CET, Eric Blake wrote: > Match our code to the spec change in the previous patch - there's > no reason for the refcount table to allow larger offsets than the > L1/L2 tables. In practice, no image has more than 64PB of > allocated clusters anyways, as anything beyond

[Qemu-devel] [PULL 01/11] console: add qemu display registry, add gtk

2018-02-28 Thread Gerd Hoffmann
Add a registry for user interfaces. Add qemu_display_init and qemu_display_early_init helper functions for display initialization. Hook up gtk ui as first user. Signed-off-by: Gerd Hoffmann Message-id: 20180221131537.31341-2-kra...@redhat.com --- include/ui/console.h | 32

[Qemu-devel] [PULL 00/11] Ui 20180228 patches

2018-02-28 Thread Gerd Hoffmann
The following changes since commit 0a773d55ac76c5aa89ed9187a3bc5af8c5c2a6d0: maintainers: Add myself as a OpenBSD maintainer (2018-02-23 12:05:07 +) are available in the git repository at: git://git.kraxel.org/qemu tags/ui-20180228-pull-request for you to fetch changes up

Re: [Qemu-devel] [PATCH] i386: Allow monitor / mwait cpuid override

2018-02-28 Thread Wanpeng Li
On 2/28/18 7:50 PM, Paolo Bonzini wrote: > On 28/02/2018 00:55, Alexander Graf wrote: >> >> On 27.02.18 10:52, Gonglei (Arei) wrote: >>> Hi all, >>> >>> Guests could achive good performance in 'Message Passing Workloads' >>> scenarios when knowing the X86_FEATURE_MWAIT feature which is presented

Re: [Qemu-devel] [PULL 00/12] Ui 20180227 patches

2018-02-28 Thread Gerd Hoffmann
> > I think modularizing SDL isn't that easy then. > > Can you just drop the "sdl: build as ui module" patch? > > I can't drop patches from signed pull requests -- you need > to respin it. Ah, right, that would invalidate the signature. Pull resent. cheers, Gerd

Re: [Qemu-devel] [PATCH v3 4/4] target/arm: Add arm_gdb_set_sysreg() callback

2018-02-28 Thread Peter Maydell
On 28 February 2018 at 11:01, Abdallah Bouassida wrote: > This is a callback to set the cp-regs registered by the dynamic XML. > > Signed-off-by: Abdallah Bouassida > --- >>> Some of our customers need to connect to Qemu using

Re: [Qemu-devel] [qemu-s390x] [PATCH] hw/s390x: Add the possibility to specify the netboot image on the command line

2018-02-28 Thread Thomas Huth
On 28.02.2018 12:02, David Hildenbrand wrote: > On 27.02.2018 12:32, Thomas Huth wrote: >> The file name of the netboot binary is currently hard-coded to >> "s390-netboot.img", without a possibility for the user to select >> an alternative firmware image here. That's unfortunate, especially >>

[Qemu-devel] [PATCH v6 7/9] vfio/display: core & wireup

2018-02-28 Thread Gerd Hoffmann
Infrastructure for display support. Must be enabled using 'display' property. Signed-off-by: Gerd Hoffmann --- hw/vfio/pci.h | 4 hw/vfio/display.c | 56 +++ hw/vfio/pci.c | 10 +

[Qemu-devel] [PATCH v6 3/9] ui/pixman: add qemu_drm_format_to_pixman()

2018-02-28 Thread Gerd Hoffmann
Map drm fourcc codes to pixman formats. Signed-off-by: Gerd Hoffmann --- include/ui/qemu-pixman.h | 5 + ui/qemu-pixman.c | 22 ++ 2 files changed, 27 insertions(+) diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h index

Re: [Qemu-devel] [PATCH v2] target-i386: add KVM_HINTS_DEDICATED performance hint

2018-02-28 Thread Wanpeng Li
Ping, 2018-02-09 22:15 GMT+08:00 Wanpeng Li : > From: Wanpeng Li > > Add KVM_HINTS_DEDICATED performance hint, guest checks this feature bit > to determine if they run on dedicated vCPUs, allowing optimizations such > as usage of qspinlocks. > > Cc:

[Qemu-devel] [PATCH v6 6/9] vfio/common: cleanup in vfio_region_finalize

2018-02-28 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/vfio/common.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/hw/vfio/common.c b/hw/vfio/common.c index f895e3c335..6a8203a532 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -858,6 +858,13 @@ void

[Qemu-devel] [PATCH v6 8/9] vfio/display: adding region support

2018-02-28 Thread Gerd Hoffmann
Wire up region-based display. Signed-off-by: Gerd Hoffmann --- hw/vfio/pci.h | 1 + include/hw/vfio/vfio-common.h | 8 +++ hw/vfio/display.c | 116 +- 3 files changed, 123 insertions(+), 2 deletions(-)

[Qemu-devel] [PATCH v6 4/9] console: minimal hotplug suport

2018-02-28 Thread Gerd Hoffmann
This patch allows to unbind devices from QemuConsoles, using the new graphic_console_close() function. The QemuConsole will show a static display then, saying the device was unplugged. When re-plugging a display later on the QemuConsole will be reused. Eventually we will allocate and release

[Qemu-devel] [PATCH v6 9/9] vfio/display: adding dmabuf support

2018-02-28 Thread Gerd Hoffmann
Wire up dmabuf-based display. Signed-off-by: Gerd Hoffmann --- include/hw/vfio/vfio-common.h | 14 hw/vfio/display.c | 166 +- 2 files changed, 178 insertions(+), 2 deletions(-) diff --git

[Qemu-devel] [PATCH v6 2/9] standard-headers: add drm/drm_fourcc.h

2018-02-28 Thread Gerd Hoffmann
So we can use the drm fourcc codes without a dependency on libdrm-devel. Signed-off-by: Gerd Hoffmann --- include/standard-headers/drm/drm_fourcc.h | 411 ++ scripts/update-linux-headers.sh | 4 + 2 files changed, 415 insertions(+)

[Qemu-devel] [PATCH v6 1/9] linux-headers: update to 4.16-rc1

2018-02-28 Thread Gerd Hoffmann
s390 has splitted syscall numbers into unistd_{32,64}.h files, so update scripts/update-linux-headers.sh accordingly. Also add a rewrite from __BITS_PER_LONG to HOST_LONG_BITS for linux/input.h Signed-off-by: Gerd Hoffmann ---

[Qemu-devel] [PATCH v6 0/9] vfio: add display support

2018-02-28 Thread Gerd Hoffmann
This series adds support for a vgpu display to the qemu vfio code. v6: - add support for hotplugging QemuConsoles. - drop vfio-pci-display device, re-add OnOffAuto display property. - add proper cleanup in finalize. v5: - rebase to latest master - drop DeviceState->hotpluggable patch, use

[Qemu-devel] [PATCH v6 5/9] secondary-vga: properly close QemuConsole on unplug

2018-02-28 Thread Gerd Hoffmann
Using the new graphic_console_close() function. Signed-off-by: Gerd Hoffmann --- hw/display/vga-pci.c | 9 + 1 file changed, 9 insertions(+) diff --git a/hw/display/vga-pci.c b/hw/display/vga-pci.c index 1674bd3581..f312930664 100644 --- a/hw/display/vga-pci.c +++

Re: [Qemu-devel] Deprecate tilegx ?

2018-02-28 Thread Bastian Koppelmann
On 02/28/2018 07:11 AM, Thomas Huth wrote: > On 27.02.2018 12:51, Peter Maydell wrote: >> I propose that we deprecate and plan to remove the unicore32 code: > [...] [...] > > Sounds reasonable to me, but let's wait a week or two for feedback from > Guan Xuetao. Agreed. > >> Possibly there are

Re: [Qemu-devel] [PATCH 0/5] Versatile Express SiI9022 emulation

2018-02-28 Thread Linus Walleij
On Tue, Feb 27, 2018 at 6:26 PM, Peter Maydell wrote: > On 27 February 2018 at 10:48, Linus Walleij wrote: >> This series adds proper display bridge/connector emulation >> for the Versatile Express, implementing a simple Silicon >> Image 9022

Re: [Qemu-devel] [PATCH 03/14] qio: introduce qio_channel_add_watch_full()

2018-02-28 Thread Daniel P . Berrangé
On Wed, Feb 28, 2018 at 08:44:24PM +0800, Peter Xu wrote: > On Wed, Feb 28, 2018 at 09:08:45AM +, Daniel P. Berrangé wrote: > > On Wed, Feb 28, 2018 at 01:06:22PM +0800, Peter Xu wrote: > > > It's a more powerful version of qio_channel_add_watch(), which supports > > > non-default gcontext.

Re: [Qemu-devel] [PATCH 03/14] qio: introduce qio_channel_add_watch_full()

2018-02-28 Thread Peter Xu
On Wed, Feb 28, 2018 at 09:08:45AM +, Daniel P. Berrangé wrote: > On Wed, Feb 28, 2018 at 01:06:22PM +0800, Peter Xu wrote: > > It's a more powerful version of qio_channel_add_watch(), which supports > > non-default gcontext. It's stripped from the old one, then we have > > g_source_get_id()

Re: [Qemu-devel] [PATCH v6 0/9] vfio: add display support

2018-02-28 Thread no-reply
Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20180228123110.6507-1-kra...@redhat.com Subject: [Qemu-devel] [PATCH v6 0/9] vfio: add display support === TEST SCRIPT BEGIN === #!/bin/bash BASE=base n=1 total=$(git log

Re: [Qemu-devel] [PATCH 07/14] qio/chardev: update net listener gcontext

2018-02-28 Thread Peter Xu
On Wed, Feb 28, 2018 at 09:25:11AM +, Daniel P. Berrangé wrote: > On Wed, Feb 28, 2018 at 01:06:26PM +0800, Peter Xu wrote: > > TCP chardevs can be using QIO network listeners working in the > > background when in listening mode. However the network listeners are > > always running in main

Re: [Qemu-devel] [PATCH 10/14] qio: refcount QIOTask

2018-02-28 Thread Peter Xu
On Wed, Feb 28, 2018 at 09:16:59AM +, Daniel P. Berrangé wrote: > On Wed, Feb 28, 2018 at 01:06:29PM +0800, Peter Xu wrote: > > It will be used in multiple threads in follow-up patches. Let it start > > to have refcounts. > > > > Signed-off-by: Peter Xu > > --- > >

<    1   2   3   4