[Qemu-devel] How to build qga-vss.dll?

2015-06-20 Thread Markus Armbruster
There's qga/vss-win32/Makefile.objs, and it appears to have a recipe for qga-vss.dll, but I can't figure out how to actually get make to build it. I'm cross-compiling with mingw (for compile-testing purposes only), I got CONFIG_QGA_VSS=y, make succeeds and produces the usual stuff, but compiles

Re: [Qemu-devel] [RFC 2/2] hw/i386/pc: reflect an explicitly created, sole FDC in the CMOS

2015-06-20 Thread Markus Armbruster
Wow, that was quick! Laszlo Ersek ler...@redhat.com writes: With the pc-q35-2.4 machine type, if the user creates an ISA FDC manually: -device isa-fdc,driveA=drive-fdc0-0-0 \ -drive file=...,if=none,id=drive-fdc0-0-0,format=raw then the board-default FDC will be skipped, and only the

Re: [Qemu-devel] [PATCH v2 0/3] blockdev: Defer creation of implicit PCI devices for IF_VIRTIO drives

2015-06-20 Thread Markus Armbruster
Peter Maydell peter.mayd...@linaro.org writes: This is a respin of the patchset I sent out last week; the only change v1-v2 is to drop the special casing of S390, as Christian confirmed it isn't needed. This collapses the old patches 2/3 into one. I'm going to use this cover letter as an

Re: [Qemu-devel] [PATCH v2 0/3] blockdev: Defer creation of implicit PCI devices for IF_VIRTIO drives

2015-06-20 Thread Peter Maydell
On 20 June 2015 at 16:00, Markus Armbruster arm...@redhat.com wrote: Peter Maydell peter.mayd...@linaro.org writes: I do definitely want to enable short-options for virt for 2.4... Enable short options = change virt's default block interface type from IF_IDE to IF_VIRTIO, I presume. For 2.4

Re: [Qemu-devel] How to build qga-vss.dll?

2015-06-20 Thread Markus Armbruster
Tomoki Sekiyama tomoki.sekiy...@hds.com writes: Hi Markus, The steps to build qga-vss.dll are: - Install some MinGW library packages: When I tested in fedora22, I need mingw32-winpthreads-static package in addition to packages on the qemu wiki page: http://wiki.qemu.org/Hosts/W32

[Qemu-devel] The communication between QEMU and KVM

2015-06-20 Thread fu lirong
Hi everybody: I am wondering How Qemu communicate with KVM , for example I want to deliver some information in KVM to Qemu, what should I do ?

Re: [Qemu-devel] [PATCH v2 0/3] blockdev: Defer creation of implicit PCI devices for IF_VIRTIO drives

2015-06-20 Thread Markus Armbruster
Peter Maydell peter.mayd...@linaro.org writes: On 9 June 2015 at 18:48, Peter Maydell peter.mayd...@linaro.org wrote: 1) explicit if=foo drive manually wired up to a device is an error (and always diagnosed as such, not indirectly via it being double-used) I had a look at getting this to

Re: [Qemu-devel] [PATCH v2 0/3] blockdev: Defer creation of implicit PCI devices for IF_VIRTIO drives

2015-06-20 Thread Markus Armbruster
Peter Maydell peter.mayd...@linaro.org writes: On 20 June 2015 at 16:00, Markus Armbruster arm...@redhat.com wrote: Peter Maydell peter.mayd...@linaro.org writes: I do definitely want to enable short-options for virt for 2.4... Enable short options = change virt's default block interface

Re: [Qemu-devel] [PATCH v2 0/3] m68k: fix ColdFire support

2015-06-20 Thread Laurent Vivier
. http://www.uclinux.org/ports/coldfire/vmlinux.m5208evb-20150620 It is a linux-4.1.0-rc8 kernel. Thank you. I have one more fix still to come for the qemu mcf_fec.c net driver. It currently doesn't support the mdio actions or any attached phy and this will cause the linux fec driver

Re: [Qemu-devel] How to build qga-vss.dll?

2015-06-20 Thread Tomoki Sekiyama
Hi Markus, The steps to build qga-vss.dll are: - Install some MinGW library packages: When I tested in fedora22, I need mingw32-winpthreads-static package in addition to packages on the qemu wiki page: http://wiki.qemu.org/Hosts/W32 - Download Microsoft VSS SDK from:

[Qemu-devel] [PATCH] net: Allow specifying maximum number of network NICs during configure

2015-06-20 Thread Shmulik Ladkani
Currently, MAX_NICS is hardcoded as 8. Add a configuration option '--net-max-nics' so one can override the default. Unless specified, default value is kept as 8. Signed-off-by: Shmulik Ladkani shmulik.ladk...@ravellosystems.com --- configure | 7 +++ include/net/net.h | 2 +- 2

Re: [Qemu-devel] [PATCH v2 0/3] blockdev: Defer creation of implicit PCI devices for IF_VIRTIO drives

2015-06-20 Thread Markus Armbruster
Peter Maydell peter.mayd...@linaro.org writes: On 9 June 2015 at 18:48, Peter Maydell peter.mayd...@linaro.org wrote: Patch 3 is the one-liner to change the default-drive-type. Unfortunately just doing that alone will break commandlines that currently work The other problem with taking patch

Re: [Qemu-devel] [PATCH v5 0/2] semihosting: clean up and add --semihosting-config arg

2015-06-20 Thread Peter Maydell
On 20 June 2015 at 21:14, Liviu Ionescu i...@livius.net wrote: On 20 Jun 2015, at 22:49, Peter Maydell peter.mayd...@linaro.org wrote: as you can see, it tries to use the kernel name as command line, which exceeds the application small buffer size. It only does that if you didn't specify

Re: [Qemu-devel] [PATCH v5 0/2] semihosting: clean up and add --semihosting-config arg

2015-06-20 Thread Liviu Ionescu
On 20 Jun 2015, at 23:19, Peter Maydell peter.mayd...@linaro.org wrote: For ARM, that's an empty command string. this is too complicated, and currently not documented. the natural method to specify that there are no args is... to add no args to the command line. Does arg='' work in the

Re: [Qemu-devel] [PULL 6/9] rocker: add new rocker switch device

2015-06-20 Thread Paolo Bonzini
On 11/05/2015 17:26, Stefan Hajnoczi wrote: +switch (tx_offload) { +case ROCKER_TX_OFFLOAD_L3_CSUM: +if (!tlvs[ROCKER_TLV_TX_L3_CSUM_OFF]) { +return -ROCKER_EINVAL; +} Is the fallthrough intentional here? Paolo +case ROCKER_TX_OFFLOAD_TSO: +

Re: [Qemu-devel] [PULL 24/34] target-s390x: implement TRANSLATE AND TEST instruction

2015-06-20 Thread Paolo Bonzini
On 05/06/2015 01:41, Alexander Graf wrote: From: Aurelien Jarno aurel...@aurel32.net It is part of the basic zArchitecture instructions. Allow it to be call from EXECUTE. Reviewed-by: Richard Henderson r...@twiddle.net Signed-off-by: Aurelien Jarno aurel...@aurel32.net Signed-off-by:

Re: [Qemu-devel] [PULL 13/42] virtio-pci: initial virtio 1.0 support

2015-06-20 Thread Paolo Bonzini
On 11/06/2015 13:58, Michael S. Tsirkin wrote: This is somewhat functional. With this, and linux driver from my tree, I was able to use virtio net as virtio 1.0 device for light browsing. At the moment, dataplane and vhost code is still missing. Based on Cornelia's virtio 1.0 patchset:

Re: [Qemu-devel] [PULL v2 58/60] qdev: add 64bit properties

2015-06-20 Thread Paolo Bonzini
On 01/06/2015 14:25, Michael S. Tsirkin wrote: +static uint64_t qdev_get_prop_mask64(Property *prop) +{ +assert(prop-info == qdev_prop_bit); +return 0x1 prop-bitnr; This needs to be 1ull. Paolo +} +

Re: [Qemu-devel] [PULL 16/16] qmp/hmp: add rocker device support

2015-06-20 Thread Paolo Bonzini
On 12/06/2015 14:57, Stefan Hajnoczi wrote: +RockerSwitch *rocker = g_malloc0(sizeof(*rocker)); +Rocker *r; + +r = rocker_find(name); +if (!r) { +error_set(errp, ERROR_CLASS_GENERIC_ERROR, + rocker %s not found, name); +return NULL;

Re: [Qemu-devel] [PATCH v2 0/3] m68k: fix ColdFire support

2015-06-20 Thread Laurent Vivier
Le 19/06/2015 15:43, g...@uclinux.org a écrit : Some small issues are causing problems with running modern versions of Linux on the m68k/ColdFire 5208 target. These 3 patches fix those problems. They are all due to use of more advanced architecture features not used in older Linux kernels.

Re: [Qemu-devel] [PATCH v5 0/2] semihosting: clean up and add --semihosting-config arg

2015-06-20 Thread Liviu Ionescu
On 19 Jun 2015, at 00:43, Peter Maydell peter.mayd...@linaro.org wrote: On 18 June 2015 at 17:00, Leon Alrae leon.al...@imgtec.com wrote: Just a rebase of v4 as there were changes in qemu_opt_foreach API. Regards, Leon Thanks; applied to target-arm.next. I merged target-arm.next to

Re: [Qemu-devel] [PATCH v5 0/2] semihosting: clean up and add --semihosting-config arg

2015-06-20 Thread Liviu Ionescu
On 20 Jun 2015, at 22:49, Peter Maydell peter.mayd...@linaro.org wrote: as you can see, it tries to use the kernel name as command line, which exceeds the application small buffer size. It only does that if you didn't specify the arguments the new way (at least that is the intention).

Re: [Qemu-devel] [PATCH v5 0/2] semihosting: clean up and add --semihosting-config arg

2015-06-20 Thread Peter Maydell
On 20 June 2015 at 19:04, Liviu Ionescu i...@livius.net wrote: On 19 Jun 2015, at 00:43, Peter Maydell peter.mayd...@linaro.org wrote: On 18 June 2015 at 17:00, Leon Alrae leon.al...@imgtec.com wrote: Just a rebase of v4 as there were changes in qemu_opt_foreach API. Regards, Leon

[Qemu-devel] [RFC] add --image command line for use with non-linux machines

2015-06-20 Thread Liviu Ionescu
Due to the problems that I recently faced with the semihosting patches, that impair functionality for maintaining compatibility with existing linux machines, I added the following to my GNU ARM Eclipse branch: - DEFHEADING(Microcontroller/Cortex-M specific:)

Re: [Qemu-devel] [PATCH 4/4] qmp/hmp: add rocker device support

2015-06-20 Thread Paolo Bonzini
On 14/05/2015 08:06, sfel...@gmail.com wrote: +case ROCKER_OF_DPA_GROUP_TYPE_L2_REWRITE: +ngroup-has_index = true; +ngroup-index = ROCKER_GROUP_INDEX_LONG_GET(group-id); +ngroup-has_group_id = true; +ngroup-group_id = group-l2_rewrite.group_id; +

Re: [Qemu-devel] [RFC] add --image command line for use with non-linux machines

2015-06-20 Thread Liviu Ionescu
On 21 Jun 2015, at 00:53, Peter Maydell peter.mayd...@linaro.org wrote: I do think we should improve our handling of image file loading. If we want ELF image loading we need to support it on *all* boards and *all* CPU architectures. and how do you suggest to proceed? what would be

Re: [Qemu-devel] [PATCH v5 0/2] semihosting: clean up and add --semihosting-config arg

2015-06-20 Thread Peter Maydell
On 20 June 2015 at 21:33, Liviu Ionescu i...@livius.net wrote: On 20 Jun 2015, at 23:19, Peter Maydell peter.mayd...@linaro.org wrote: For ARM, that's an empty command string. this is too complicated, and currently not documented. I mean, in the ARM semihosting API, this is indicated by

Re: [Qemu-devel] [RFC] add --image command line for use with non-linux machines

2015-06-20 Thread Peter Maydell
On 20 June 2015 at 22:00, Liviu Ionescu i...@livius.net wrote: Due to the problems that I recently faced with the semihosting patches, that impair functionality for maintaining compatibility with existing linux machines, I added the following to my GNU ARM Eclipse branch: