[Qemu-devel] hw/input/ps2.c : BTN_SIDE and BTN_EXTRA not forwarded

2018-12-15 Thread james harvey
Running qemu 3.1.0. virt-viewer 7.0. spice, spice-gtk, and spice-protocol all git versions from the past week or so. I have a Logitech G600 mouse. The scroll wheel can be pushed left or right. On Arch Linux host, "evtest" shows these as event codes 275 (BTN_SIDE) and 276 (BTN_EXTRA.) In

Re: [Qemu-devel] [PULL v2 00/32] QAPI patches for 2018-12-13

2018-12-15 Thread Peter Maydell
On Fri, 14 Dec 2018 at 06:06, Markus Armbruster wrote: > > git-request-pull master public pull-qapi-2018-12-13-v2 > The following changes since commit c3ec0fa1a8e815ecfec9eabb9c20ee206c313e07: > > Merge remote-tracking branch 'remotes/armbru/tags/pull-monitor-2018-12-12' > into staging

Re: [Qemu-devel] [PULL 00/32] tcg patch queue

2018-12-15 Thread Peter Maydell
On Fri, 14 Dec 2018 at 03:19, Richard Henderson wrote: > > The following changes since commit 2d894e48362ad2a576fca929dcca1787f43a8af6: > > Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' > into staging (2018-12-13 17:50:45 +) > > are available in the Git

Re: [Qemu-devel] [PATCH v5 09/73] ppc: convert to helper_cpu_halted_set

2018-12-15 Thread David Gibson
On Thu, Dec 13, 2018 at 12:03:49AM -0500, Emilio G. Cota wrote: > Cc: David Gibson > Cc: Alexander Graf > Cc: qemu-...@nongnu.org > Reviewed-by: Richard Henderson > Reviewed-by: Alex Bennée > Signed-off-by: Emilio G. Cota Acked-by: David Gibson > --- > target/ppc/translate.c | 6 ++ >

Re: [Qemu-devel] [PULL 00/27] ppc-for-4.0 queue 20181213

2018-12-15 Thread David Gibson
On Fri, Dec 14, 2018 at 04:03:08PM +, Peter Maydell wrote: > On Thu, 13 Dec 2018 at 04:01, David Gibson > wrote: > > > > The following changes since commit 4b3aab204204ca742836219b97b538d90584f4f2: > > > > Merge remote-tracking branch > >

Re: [Qemu-devel] [PATCH v5 44/73] ppc: convert to cpu_interrupt_request

2018-12-15 Thread David Gibson
On Thu, Dec 13, 2018 at 12:04:24AM -0500, Emilio G. Cota wrote: > Cc: David Gibson > Cc: Alexander Graf > Cc: qemu-...@nongnu.org > Reviewed-by: Richard Henderson > Signed-off-by: Emilio G. Cota Acked-by: David Gibson > --- > hw/ppc/ppc.c| 2 +- >

Re: [Qemu-devel] [PATCH v5 05/14] hw/nvram/nrf51_nvm: Add nRF51 non-volatile memories

2018-12-15 Thread Stefan Hajnoczi
On Mon, Nov 26, 2018 at 05:43:59PM +, Peter Maydell wrote: > On Mon, 26 Nov 2018 at 00:24, Steffen Görtz wrote: > > > > Hi Peter, > > > > thank you for your remarks! > > > > >> +}; > > >> + > > >> +static uint64_t ficr_read(void *opaque, hwaddr offset > > > > > >> +value &=

Re: [Qemu-devel] [PATCH v5 18/73] ppc: convert to cpu_halted

2018-12-15 Thread David Gibson
On Thu, Dec 13, 2018 at 12:03:58AM -0500, Emilio G. Cota wrote: > In ppce500_spin.c, acquire the lock just once to update > both cpu->halted and cpu->stopped. > > In hw/ppc/spapr_hcall.c, acquire the lock just once to > update cpu->halted and call cpu_has_work, since later > in the series we'll

Re: [Qemu-devel] [PATCH v5 63/73] ppc: convert to cpu_has_work_with_iothread_lock

2018-12-15 Thread David Gibson
On Thu, Dec 13, 2018 at 12:04:43AM -0500, Emilio G. Cota wrote: > Soon we will call cpu_has_work without the BQL. > > Cc: David Gibson > Cc: Alexander Graf > Cc: qemu-...@nongnu.org > Reviewed-by: Richard Henderson > Signed-off-by: Emilio G. Cota Acked-by: David Gibson > --- >

Re: [Qemu-devel] [PATCH v5 00/14] arm: nRF51 Devices and Microbit Support

2018-12-15 Thread Stefan Hajnoczi
On Mon, Nov 12, 2018 at 04:42:10PM -0500, Steffen Görtz wrote: > This series contains additional peripheral devices for the nRF51822 > microcontroller. > > Included devices: > - Random Number Generator > - Non-volatile Memories > - General purpose I/O > - Timer > - Stub for clock peripheral Hi

Re: [Qemu-devel] [PULL 00/32] tcg patch queue

2018-12-15 Thread Richard Henderson
On 12/15/18 1:18 PM, Peter Maydell wrote: > This didn't pass 'make check' on sparc64 host. > It looks like the handful of tests that exercise TCG > in the process of doing what they do failed, and there > was a tcg assert in there too: ... > qemu-system-x86_64:

Re: [Qemu-devel] [PATCH v7 16/19] spapr: introduce a new sPAPR IRQ backend supporting XIVE and XICS

2018-12-15 Thread David Gibson
On Wed, Dec 12, 2018 at 10:13:29AM +0100, Cédric Le Goater wrote: > [ ... ] > > > + > +static qemu_irq spapr_qirq_dual(sPAPRMachineState *spapr, int irq) > +{ > +return spapr_irq_current(spapr)->qirq(spapr, irq); > >>> > >>> Urgh... I don't think this is going to work.

Re: [Qemu-devel] [PATCH v7 18/19] spapr: add a 'pseries-4.0-xive' machine type

2018-12-15 Thread David Gibson
On Tue, Dec 11, 2018 at 05:44:26PM +0100, Cédric Le Goater wrote: > On 12/11/18 11:42 AM, Cédric Le Goater wrote: > > On 12/11/18 3:06 AM, David Gibson wrote: > >> On Mon, Dec 10, 2018 at 11:17:33PM +0100, Cédric Le Goater wrote: > >>> On 12/9/18 8:46 PM, Cédric Le Goater wrote: > This

[Qemu-devel] [PATCH v2 2/3] vhost-user: fix ioeventfd_enabled

2018-12-15 Thread Li Qiang
Currently, the vhost-user-test assumes the eventfd is available. However it's not true because the accel is qtest. So the 'vhost_set_vring_file' will not add fds to the msg and the server side of vhost-user-test will be broken. The bug is in 'ioeventfd_enabled'. We should make this function return

[Qemu-devel] [PATCH v2 0/3] vhost-user-test fix

2018-12-15 Thread Li Qiang
Currently, the vhost-user-test is not correct. When in qtest mode, the accel is qtest, not kvm. So when the client side of vhost-user-test send 'VHOST_USER_SET_VRING_CALL' msg, the 'fd' will no be added in 'fds' in 'vhost_set_vring_file'. In 'chr_read' of the server side in the vhost-user-test,

[Qemu-devel] [PATCH v2 1/3] tests: vhost-user-test: initialize 'fd' in chr_read

2018-12-15 Thread Li Qiang
Currently when processing VHOST_USER_SET_VRING_CALL if 'qemu_chr_fe_get_msgfds' get no fd, the 'fd' will be a stack uninitialized value. Signed-off-by: Li Qiang --- tests/vhost-user-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vhost-user-test.c

[Qemu-devel] [PATCH v2 16/22] nbd/client: Split handshake into two functions

2018-12-15 Thread Eric Blake
An upcoming patch will add the ability for qemu-nbd to list the services provided by an NBD server. Share the common code of the TLS handshake by splitting the initial exchange into a separate function, leaving only the export handling in the original function. Functionally, there should be no

[Qemu-devel] [PATCH v2 06/22] qemu-nbd: Fail earlier for -c/-d on non-linux

2018-12-15 Thread Eric Blake
Connecting to a /dev/nbdN device is a Linux-specific action. We were already masking -c and -d from 'qemu-nbd --help' on non-linux. However, while -d fails with a sensible error message, it took hunting through a couple of files to prove that. What's more, the code for -c doesn't fail until

[Qemu-devel] [PATCH v2 07/22] qemu-nbd: Avoid strtol open-coding

2018-12-15 Thread Eric Blake
Our copy-and-pasted open-coding of strtol handling forgot to handle overflow conditions. Use qemu_strto*() instead. In the case of --partition, since we insist on a user-supplied partition to be non-zero, we can use 0 rather than -1 for our initial value to distinguish when a partition is not

[Qemu-devel] [PATCH v2 19/22] nbd/client: Add meta contexts to nbd_receive_export_list()

2018-12-15 Thread Eric Blake
We want to be able to detect whether a given qemu NBD server is exposing the right export(s) and dirty bitmaps, at least for regression testing. We could use 'nbd-client -l' from the upstream NBD project to list exports, but it's annoying to rely on out-of-tree binaries; furthermore, nbd-client

[Qemu-devel] [PATCH v2 22/22] iotests: Enhance 223, 233 to cover 'qemu-nbd --list'

2018-12-15 Thread Eric Blake
Any good new feature deserves some regression testing :) Coverage includes: - 223: what happens when there are 0 or more than 1 export, proof that we can see multiple contexts including qemu:dirty-bitmap - 233: proof that we can list over TLS, and that mix-and-match of plain/TLS listings will

[Qemu-devel] [PATCH v2 15/22] nbd/client: Refactor return of nbd_receive_negotiate()

2018-12-15 Thread Eric Blake
The function could only ever return 0 or -EINVAL; make this clearer by dropping a useless 'fail:' label. Signed-off-by: Eric Blake Reviewed-by: Richard W.M. Jones Reviewed-by: Vladimir Sementsov-Ogievskiy --- nbd/client.c | 51 +++ 1 file

[Qemu-devel] [PATCH v2 08/22] nbd/client: Drop pointless buf variable

2018-12-15 Thread Eric Blake
There's no need to read into a temporary buffer (oversized since commit 7d3123e1) followed by a byteswap into a uint64_t to check for a magic number via memcmp(), when the code immediately below demonstrates reading into the uint64_t then byteswapping in place and checking for a magic number via

Re: [Qemu-devel] [PATCH v2 06/22] qemu-nbd: Fail earlier for -c/-d on non-linux

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:08AM -0600, Eric Blake wrote: > Connecting to a /dev/nbdN device is a Linux-specific action. > We were already masking -c and -d from 'qemu-nbd --help' on > non-linux. However, while -d fails with a sensible error > message, it took hunting through a couple of files

Re: [Qemu-devel] [PATCH v2 03/22] maint: Allow for EXAMPLES in texi2pod

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:05AM -0600, Eric Blake wrote: > The next commit will add an EXAMPLES section to qemu-nbd.8; > for that to work, we need to recognize EXAMPLES in texi2pod, > and we need to make all man pages be regenerated since the > output of texi2pod can be different. > >

Re: [Qemu-devel] [PATCH v2 07/22] qemu-nbd: Avoid strtol open-coding

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:09AM -0600, Eric Blake wrote: > Our copy-and-pasted open-coding of strtol handling forgot to > handle overflow conditions. Use qemu_strto*() instead. > > In the case of --partition, since we insist on a user-supplied > partition to be non-zero, we can use 0 rather

Re: [Qemu-devel] [PATCH 2/3] vhost-user: add fds inf 'vhost_set_vring_file' in qtest

2018-12-15 Thread Paolo Bonzini
On 15/12/18 02:26, Li Qiang wrote: > Currently, the vhost-user-test assumes the eventfd is available. > However it's not true because the accel is qtest. So the > 'vhost_set_vring_file' will not add fds to the msg and the server > side of vhost-user-test will be broken. This patch avoid this. > >

Re: [Qemu-devel] [PATCH for-4.0 0/6] vhost-user-blk: Add support for backend reconnecting

2018-12-15 Thread Yongji Xie
On Sat, 15 Dec 2018 at 05:23, Michael S. Tsirkin wrote: > > On Fri, Dec 14, 2018 at 10:33:54AM +0800, Yongji Xie wrote: > > On Fri, 14 Dec 2018 at 10:20, Michael S. Tsirkin wrote: > > > > > > On Fri, Dec 14, 2018 at 09:56:41AM +0800, Yongji Xie wrote: > > > > On Thu, 13 Dec 2018 at 22:45,

[Qemu-devel] [PATCH v2 3/3] util: check the return value of fcntl in qemu_set_{block, nonblock}

2018-12-15 Thread Li Qiang
Assert that the return value is not an error. This is like commit 7e6478e7d4f for qemu_set_cloexec. Signed-off-by: Li Qiang --- util/oslib-posix.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/util/oslib-posix.c b/util/oslib-posix.c index c1bee2a581..4ce1ba9ca4

[Qemu-devel] [PATCH v2 10/22] nbd/client: Move export name into NBDExportInfo

2018-12-15 Thread Eric Blake
Refactor the 'name' parameter of nbd_receive_negotiate() from being a separate parameter into being part of the in-out 'info'. This also spills over to a simplification of nbd_opt_go(). The main driver for this refactoring is that an upcoming patch would like to add support to qemu-nbd to list

[Qemu-devel] [PATCH v2 05/22] nbd/client: More consistent error messages

2018-12-15 Thread Eric Blake
Consolidate on using decimal (not hex), on outputting the option reply name (not just value), and a consistent comma between clauses, when the client reports protocol discrepancies from the server. While it won't affect normal operation, it makes debugging additions easier. Signed-off-by: Eric

[Qemu-devel] [PATCH v2 03/22] maint: Allow for EXAMPLES in texi2pod

2018-12-15 Thread Eric Blake
The next commit will add an EXAMPLES section to qemu-nbd.8; for that to work, we need to recognize EXAMPLES in texi2pod, and we need to make all man pages be regenerated since the output of texi2pod can be different. Signed-off-by: Eric Blake --- v2: new patch --- Makefile| 18

[Qemu-devel] [PATCH v2 11/22] nbd/client: Change signature of nbd_negotiate_simple_meta_context()

2018-12-15 Thread Eric Blake
Pass 'info' instead of three separate parameters related to info, when requesting the server to set the meta context. Update the NBDExportInfo struct to rename the received id field to match the fact that we are currently overloading the field to match whatever context the user supplied through

[Qemu-devel] [PATCH v2 14/22] nbd/client: Split out nbd_receive_one_meta_context()

2018-12-15 Thread Eric Blake
Refactor nbd_negotiate_simple_meta_context() to more closely resemble the pattern of nbd_receive_list(), separating the argument validation for one pass from the caller making a loop over passes. No major semantic change (although one error message loses the original query). The diff may be a bit

[Qemu-devel] [PATCH v2 21/22] nbd/client: Work around 3.0 bug for listing meta contexts

2018-12-15 Thread Eric Blake
Commit 3d068aff forgot to advertise available qemu: contexts when the client requests a list with 0 queries. Furthermore, 3.0 shipped with a qemu-img hack of x-dirty-bitmap (commit 216ee365) that _silently_ acts as though the entire image is clean if a requested bitmap is not present. Both bugs

[Qemu-devel] [PATCH v2 20/22] qemu-nbd: Add --list option

2018-12-15 Thread Eric Blake
We want to be able to detect whether a given qemu NBD server is exposing the right export(s) and dirty bitmaps, at least for regression testing. We could use 'nbd-client -l' from the upstream NBD project to list exports, but it's annoying to rely on out-of-tree binaries; furthermore, nbd-client

Re: [Qemu-devel] [PATCH v2 04/22] qemu-nbd: Enhance man page

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:06AM -0600, Eric Blake wrote: > Document some useful qemu-nbd command lines. Mention some restrictions > on particular options, like -p being only for MBR images, or -c/-d > being Linux-only. Update some text given the recent change to no > longer serve oldstyle

[Qemu-devel] [PATCH v2 02/22] nbd: Document timeline of various features

2018-12-15 Thread Eric Blake
It can be useful to figure out which NBD protocol features are exposed by a server, as well as what features a client will take advantage of if available, for a given qemu release. It's not always precise to base features on version numbers (thanks to downstream backports), but any documentation

[Qemu-devel] [PATCH v2 00/22] nbd: add qemu-nbd --list

2018-12-15 Thread Eric Blake
I got tired of debugging whether a server was advertising the correct things during negotiation by inspecting the trace logs of qemu-io as client - not to mention that without SOME sort of client tracing particular commands, we can't easily regression test the server for correct behavior. The

[Qemu-devel] [PATCH v2 01/22] qemu-nbd: Use program name in error messages

2018-12-15 Thread Eric Blake
This changes output from: $ qemu-nbd nosuch Failed to blk_new_open 'nosuch': Could not open 'nosuch': No such file or directory to something more consistent with qemu-img and qemu: $ qemu-nbd nosuch qemu-nbd: Failed to blk_new_open 'nosuch': Could not open 'nosuch': No such file or directory

[Qemu-devel] [PATCH v2 12/22] nbd/client: Improve error handling in nbd_negotiate_simple_meta_context()

2018-12-15 Thread Eric Blake
Always allocate space for the reply returned by the server and hoist the trace earlier, as it is more interesting to trace the server's reply (even if it is unexpected) than parroting our request only on success. After all, skipping the allocation for a wrong size was merely a micro-optimization

[Qemu-devel] [PATCH v2 04/22] qemu-nbd: Enhance man page

2018-12-15 Thread Eric Blake
Document some useful qemu-nbd command lines. Mention some restrictions on particular options, like -p being only for MBR images, or -c/-d being Linux-only. Update some text given the recent change to no longer serve oldstyle protocol (missed in commit 7f7dfe2a). Also, consistently use trailing

[Qemu-devel] [PATCH v2 13/22] nbd/client: Split out nbd_send_one_meta_context()

2018-12-15 Thread Eric Blake
Refactor nbd_negotiate_simple_meta_context() to pull out the code that can be reused to send a LIST request for 0 or 1 query. No semantic change. Signed-off-by: Eric Blake --- v2: split patch into easier-to-review pieces [Rich, Vladimir] --- nbd/client.c | 64

[Qemu-devel] [PATCH v2 17/22] nbd/client: Pull out oldstyle size determination

2018-12-15 Thread Eric Blake
Another refactoring creating nbd_negotiate_finish_oldstyle() for further reuse during 'qemu-nbd --list'. Signed-off-by: Eric Blake --- v2: new patch [Vladimir] --- nbd/client.c | 49 - 1 file changed, 32 insertions(+), 17 deletions(-) diff --git

[Qemu-devel] [PATCH v2 09/22] nbd/client: Refactor nbd_receive_list()

2018-12-15 Thread Eric Blake
Right now, nbd_receive_list() is only called by nbd_receive_query_exports(), which in turn is only called if the server lacks NBD_OPT_GO but has working option negotiation, and is merely used as a quality-of-implementation trick since servers can't give decent errors for NBD_OPT_EXPORT_NAME.

[Qemu-devel] [PATCH v2 18/22] nbd/client: Add nbd_receive_export_list()

2018-12-15 Thread Eric Blake
We want to be able to detect whether a given qemu NBD server is exposing the right export(s) and dirty bitmaps, at least for regression testing. We could use 'nbd-client -l' from the upstream NBD project to list exports, but it's annoying to rely on out-of-tree binaries; furthermore, nbd-client

Re: [Qemu-devel] [PATCH v2 02/22] nbd: Document timeline of various features

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:04AM -0600, Eric Blake wrote: > It can be useful to figure out which NBD protocol features are > exposed by a server, as well as what features a client will > take advantage of if available, for a given qemu release. It's > not always precise to base features on

Re: [Qemu-devel] [PATCH v2 12/22] nbd/client: Improve error handling in nbd_negotiate_simple_meta_context()

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:14AM -0600, Eric Blake wrote: > Always allocate space for the reply returned by the server and > hoist the trace earlier, as it is more interesting to trace the > server's reply (even if it is unexpected) than parroting our > request only on success. After all,

Re: [Qemu-devel] [PATCH v2 19/22] nbd/client: Add meta contexts to nbd_receive_export_list()

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:21AM -0600, Eric Blake wrote: > We want to be able to detect whether a given qemu NBD server is > exposing the right export(s) and dirty bitmaps, at least for > regression testing. We could use 'nbd-client -l' from the upstream > NBD project to list exports, but it's

Re: [Qemu-devel] [PATCH v2 11/22] nbd/client: Change signature of nbd_negotiate_simple_meta_context()

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:13AM -0600, Eric Blake wrote: > Pass 'info' instead of three separate parameters related to info, > when requesting the server to set the meta context. Update the > NBDExportInfo struct to rename the received id field to match the > fact that we are currently

Re: [Qemu-devel] [PATCH v2 09/22] nbd/client: Refactor nbd_receive_list()

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:11AM -0600, Eric Blake wrote: > Right now, nbd_receive_list() is only called by > nbd_receive_query_exports(), which in turn is only called if the > server lacks NBD_OPT_GO but has working option negotiation, and is > merely used as a quality-of-implementation trick

Re: [Qemu-devel] [PATCH v2 13/22] nbd/client: Split out nbd_send_one_meta_context()

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:15AM -0600, Eric Blake wrote: > Refactor nbd_negotiate_simple_meta_context() to pull out the > code that can be reused to send a LIST request for 0 or 1 query. > No semantic change. > > Signed-off-by: Eric Blake > > --- > v2: split patch into easier-to-review

[Qemu-devel] [Bug 1802915] Re: GTK display refresh rate is throttled

2018-12-15 Thread Thomas Arouge
Instead of changing the value, I think there should be a function that determines the ideal "GUI_REFRESH_INTERVAL_DEFAULT" value, with the option to override it. That way, monitor greater than 60 Hz can also benefit. -- You received this bug notification because you are a member of qemu-

Re: [Qemu-devel] [PATCH v2 18/22] nbd/client: Add nbd_receive_export_list()

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:20AM -0600, Eric Blake wrote: > We want to be able to detect whether a given qemu NBD server is > exposing the right export(s) and dirty bitmaps, at least for > regression testing. We could use 'nbd-client -l' from the upstream > NBD project to list exports, but it's

Re: [Qemu-devel] [PATCH v2 17/22] nbd/client: Pull out oldstyle size determination

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:19AM -0600, Eric Blake wrote: > Another refactoring creating nbd_negotiate_finish_oldstyle() > for further reuse during 'qemu-nbd --list'. > > Signed-off-by: Eric Blake > --- > v2: new patch [Vladimir] > --- > nbd/client.c | 49

Re: [Qemu-devel] [PATCH v2 14/22] nbd/client: Split out nbd_receive_one_meta_context()

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:16AM -0600, Eric Blake wrote: > Refactor nbd_negotiate_simple_meta_context() to more closely > resemble the pattern of nbd_receive_list(), separating the > argument validation for one pass from the caller making a loop > over passes. No major semantic change (although

Re: [Qemu-devel] [PATCH v2 20/22] qemu-nbd: Add --list option

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:22AM -0600, Eric Blake wrote: > @@ -557,13 +660,14 @@ int main(int argc, char **argv) > Error *local_err = NULL; > BlockdevDetectZeroesOptions detect_zeroes = > BLOCKDEV_DETECT_ZEROES_OPTIONS_OFF; > QDict *options = NULL; > -const char *export_name

[Qemu-devel] [PATCH] target/ppc: fix compilation breakage on windows

2018-12-15 Thread Cédric Le Goater
Fix the PPC_BIT definitions to use ULL instead in UL and replace __builtin_ffssl() by the equivalent ctz routines. Signed-off-by: Cédric Le Goater --- Compile tested with --cross-prefix=x86_64-w64-mingw32-. When I have some more time, I might try runtime on windows also. The PPC compile

Re: [Qemu-devel] [PULL 0/3] 9p patches 2018-12-13

2018-12-15 Thread Greg Kurz
On Fri, 14 Dec 2018 19:12:07 + Peter Maydell wrote: > On Thu, 13 Dec 2018 at 09:03, Greg Kurz wrote: > > > > The following changes since commit bb9bf94b3e8926553290bc9a7cb84315af422086: > > > > Merge remote-tracking branch > > 'remotes/ehabkost/tags/machine-next-pull-request' into