Re: [Qemu-devel] [for-2.6 PATCH v2 2/2] pc: Add pc-*-2.6 machine classes

2015-11-29 Thread Marcel Apfelbaum
On 11/27/2015 08:01 PM, Eduardo Habkost wrote: Add pc-i440fx-2.6 and pc-q35-2.6 machine classes. Signed-off-by: Eduardo Habkost --- Changes v1 -> v2: * Add missing backslash to PC_COMPAT_2_4 --- hw/i386/pc_piix.c| 16 +--- hw/i386/pc_q35.c | 13

Re: [Qemu-devel] [PATCH 1/4] vmxnet3: The vmxnet3 device is a PCIE endpoint

2015-11-29 Thread Shmulik Ladkani
Hi, On Wed, 25 Nov 2015 16:24:39 +0800 Jason Wang wrote: > >>> @@ -2568,6 +2572,7 @@ static void vmxnet3_class_init(ObjectClass *class, > >>> void *data) > >>> c->class_id = PCI_CLASS_NETWORK_ETHERNET; > >>> c->subsystem_vendor_id = PCI_VENDOR_ID_VMWARE; > >>>

Re: [Qemu-devel] [PULL 07/15] q35: Check propery to determine if iommu is set

2015-11-29 Thread Bandan Das
Hi Marcel, Marcel Apfelbaum writes: ... > > Maybe is too late, but this contradicts QEMU usage, as I understand Why late ? We can always revert it :) > object_property_get_* should be used when we don't know object's type. My understanding is that it's not mandatory

Re: [Qemu-devel] [for-2.6 PATCH v2 1/2] pc: Remove redundant code from pc-*-2.3 machine classes

2015-11-29 Thread Marcel Apfelbaum
On 11/27/2015 08:01 PM, Eduardo Habkost wrote: Remove the redundant 'alias = NULL' and 'is_default = 0' lines from older machine-types. pc_*_2_4_machine_options() already clear those fields, so they don't need to be cleared by pc_*_2_3_machine_options(). Signed-off-by: Eduardo Habkost

Re: [Qemu-devel] [PATCH] m25p80.c Added support for N25Q256 and N25Q512

2015-11-29 Thread Peter Crosthwaite
On Sun, Nov 29, 2015 at 5:12 AM, Krzeminski, Marcin (Nokia - PL/Wroclaw) wrote: > > >> -Original Message- >> From: EXT Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com] >> Sent: Saturday, November 28, 2015 7:50 PM >> To: Krzeminski, Marcin (Nokia -

[Qemu-devel] [Bug 1481272] Re: main-loop: WARNING: I/O thread spun for 1000 iterations

2015-11-29 Thread Bruce Hohl
I have experienced this behavior (main-loop: WARNING: I/O thread spun for 1000 iterations) and the resulting degraded performance. The VM becomes very unresponsive but eventually recovers. My setup: Ubuntu 15.10 | qemu-system-x86_64 --version QEMU emulator version 2.3.0 (Debian

Re: [Qemu-devel] [PATCH v2 0/4] target-tilegx: Implement floating point instructions

2015-11-29 Thread Chen Gang
Hello Maintainers: Please help check these patches when you have time. If it is necessary to send patch v3 for it, please let me know. Thanks. On 11/17/15 03:37, Chen Gang wrote: > From d0f0e0a78e81f9589d25b0a2b4ad826d6e55257d Mon Sep 17 00:00:00 2001 > From: Chen Gang

Re: [Qemu-devel] [RFC PATCH v3 1/5] hw/intc: Implement ITS base class

2015-11-29 Thread Shannon Zhao
On 2015/11/24 18:13, Pavel Fedin wrote: > +static const VMStateDescription vmstate_its = { > +.name = "arm_gicv3_its", > +.pre_save = gicv3_its_pre_save, > +.post_load = gicv3_its_post_load, > +.fields = (VMStateField[]) { > +VMSTATE_UINT32(ctlr, GICv3ITSState), > +

Re: [Qemu-devel] [PATCH V3 3/3] hw/i386: extend pxb query for all PC machines

2015-11-29 Thread Marcel Apfelbaum
On 11/27/2015 07:28 PM, Eduardo Habkost wrote: On Thu, Nov 26, 2015 at 06:00:28PM +0200, Marcel Apfelbaum wrote: Add bus property to PC machines and use it when looking for primary PCI root bus (bus 0). Signed-off-by: Marcel Apfelbaum I can't pretend I have reviewed the

[Qemu-devel] [RFC PATCH 0/2] Add GIC ITS description in ACPI MADT table

2015-11-29 Thread Shannon Zhao
From: Shannon Zhao These two patches add ITS description in ACPI MADT table. It bases on Pavel Fedin's ITS series[1]. [1]https://www.mail-archive.com/qemu-devel@nongnu.org/msg337421.html Shannon Zhao (2): ACPI: Add GIC Interrupt Translation Service Structure

[Qemu-devel] [RFC PATCH 2/2] ARM: Virt: ACPI: Add GIC ITS description in ACPI MADT table

2015-11-29 Thread Shannon Zhao
From: Shannon Zhao If GIC ITS is supported, add description in ACPI MADT table, then guest could use ITS when booting with ACPI. Signed-off-by: Shannon Zhao --- hw/arm/virt-acpi-build.c | 11 +++ 1 file changed, 11 insertions(+) diff

[Qemu-devel] [RFC PATCH 1/2] ACPI: Add GIC Interrupt Translation Service Structure definition

2015-11-29 Thread Shannon Zhao
From: Shannon Zhao ACPI Spec 6.0 introduces GIC Interrupt Translation Service Structure. Here we add the definition of the Structure. Signed-off-by: Shannon Zhao --- include/hw/acpi/acpi-defs.h | 13 - 1 file changed, 12

Re: [Qemu-devel] RFC: raspberry pi / pi2 / Windows-on-ARM support

2015-11-29 Thread Paolo Bonzini
On 25/11/2015 19:14, Andrew Baumann wrote: > How does this work out with object_property_add_alias? It can fail > and returns an error, so it should be called from realize, but it > adds a new property on the object, so the property won't be useful if > it can only be set after realize has added

Re: [Qemu-devel] [PATCH v2] util/id: fully allocate names table

2015-11-29 Thread Michael Tokarev
26.11.2015 00:03, John Snow wrote: > Trivial: this array should be allocated to have ID_MAX entries always. > Otherwise if someone were to forget to expand this table, the assertion > in the id generator won't actually trigger; it will read junk data. Applied to -trivial as a bugfix, with a

Re: [Qemu-devel] [PATCH for-2.5] bt: avoid unintended sign extension

2015-11-29 Thread Michael Tokarev
27.11.2015 15:08, Paolo Bonzini wrote: > In the case of a 4-byte length, shifting a value by 24 may cause > an unintended sign extension when converting from int to size_t. > Use a uint32_t variable instead. Applied to -trivial, thank you! /mjt

Re: [Qemu-devel] [PATCH V3 0/3] hw/pcie: Multi-root support for Q35

2015-11-29 Thread Marcel Apfelbaum
On 11/27/2015 07:04 PM, Igor Mammedov wrote: On Thu, 26 Nov 2015 20:35:59 +0200 Marcel Apfelbaum wrote: On 11/26/2015 07:01 PM, Laszlo Ersek wrote: Hello Marcel, On 11/26/15 17:00, Marcel Apfelbaum wrote: Note: I took the liberty to CC all the reviewers that took their

Re: [Qemu-devel] [PATCH] m25p80.c Added support for N25Q256 and N25Q512

2015-11-29 Thread Krzeminski, Marcin (Nokia - PL/Wroclaw)
> -Original Message- > From: EXT Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com] > Sent: Saturday, November 28, 2015 7:50 PM > To: Krzeminski, Marcin (Nokia - PL/Wroclaw) > Cc: qemu-devel@nongnu.org; g...@xilinx.com; Sai Pavan Boddu > Subject: Re: [Qemu-devel] [PATCH] m25p80.c

[Qemu-devel] [PATCH] ui/curses: Fix color attribute of monitor for curses

2015-11-29 Thread OGAWA Hirofumi
Current text_console_update() writes totally broken color attributes to console_write_ch(). The format now is writing, [WRONG] bold << 21 | fg << 12 | bg << 8 | char fg == 3bits curses color number bg == 3bits curses color number I can't see this format is where come

Re: [Qemu-devel] [PATCH] crypto: avoid two coverity false positive error reports

2015-11-29 Thread Michael Tokarev
13.11.2015 20:45, Daniel P. Berrange wrote: > In qcrypto_tls_creds_get_path() coverity complains that > we are checking '*creds' for NULL, despite having > dereferenced it previously. This is harmless bug due > to fact that the trace call was too early. Moving it > after the cleanup gets the

Re: [Qemu-devel] [PATCH] configure: Diagnose broken linkers directly

2015-11-29 Thread Michael Tokarev
24.11.2015 17:55, Peter Maydell wrote: > Currently if the user's compiler works for creating .o files but > their linker is broken such that compiling an executable from a > C file does not work, we will report a misleading error message > about the compiler not supporting __thread (since that

Re: [Qemu-devel] [PATCH] typedefs: Put them back into alphabetical order

2015-11-29 Thread Michael Tokarev
19.11.2015 15:29, Markus Armbruster wrote: > "Please keep this list in alphabetical order" has been more honoured > in the breach than in the observance. Clean up. > > While there, drop a redundant struct declaration. Applied to -trivial, thank you! /mjt

Re: [Qemu-devel] [PATCH V3 0/3] hw/pcie: Multi-root support for Q35

2015-11-29 Thread Marcel Apfelbaum
On 11/26/2015 07:01 PM, Laszlo Ersek wrote: Hello Marcel, [...] if you have ACPI table dumps from within an i440fx SeaBIOS Linux guest, both from before and after your QEMU patches, and those dumps are identical, then that's good evidence against regressions. (I tend to do such

Re: [Qemu-devel] [PATCH v2] bt: check struct sizes

2015-11-29 Thread Michael Tokarev
28.11.2015 18:13, Paolo Bonzini wrote: > On 27/11/2015 18:57, Paolo Bonzini wrote: >> See http://permalink.gmane.org/gmane.linux.bluez.kernel/36505. For >> historical >> reasons these do not use sizeof, and Coverity caught a mistake in >> EVT_ENCRYPT_CHANGE_SIZE. >> >> Note other sizes that seem

Re: [Qemu-devel] [PATCH v2 1/1] configure: use appropriate code fragment for -fstack-protector checks

2015-11-29 Thread Michael Tokarev
12.11.2015 17:04, Rodrigo Rebello wrote: > The check for stack-protector support consisted in compiling and linking > the test program below (output by function write_c_skeleton()) with the > compiler flag -fstack-protector-strong first and then with > -fstack-protector-all if the first one failed

Re: [Qemu-devel] [PATCH] gt64xxx: fix decoding of ISD register

2015-11-29 Thread Michael Tokarev
06.11.2015 18:34, Paolo Bonzini wrote: > The GT64xxx's internal registers can be placed above the first 4 GiB > in the address space, but not above the first 64 GiB. Correctly cast > the register to a 64-bit integer, and mask away bits above bit 35. Applied to -trivial, thank you! /mjt

Re: [Qemu-devel] [PATCH] scsi: remove scsi_req_free prototype

2015-11-29 Thread Michael Tokarev
Applied to -trivial, thank you! /mjt

Re: [Qemu-devel] [PATCH] Trivial: update comment of struct Object

2015-11-29 Thread Michael Tokarev
05.11.2015 10:39, Cao jin wrote: > it don`t has "GSList *interfaces" anymore Andreas, should this be applied? It's been on the list for long already, and you said I shouldn't apply qom patches... Thanks, /mjt > Signed-off-by: Cao jin > --- > include/qom/object.h |

Re: [Qemu-devel] MinGW build

2015-11-29 Thread Juan Quintela
Peter Maydell wrote: > On 27 November 2015 at 19:16, Stefan Weil wrote: >> Yes, that's correct. I just did a short test and replaced "printf" >> by "gnu_printf" in disas/libvixl/utils.h: no more warnings when MinGW >> compiles

Re: [Qemu-devel] [PULL 07/15] q35: Check propery to determine if iommu is set

2015-11-29 Thread Marcel Apfelbaum
On 11/19/2015 03:36 PM, Michael S. Tsirkin wrote: From: Bandan Das The helper function machine_iommu() isn't necesary. We can directly check for the property. Signed-off-by: Bandan Das Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael

Re: [Qemu-devel] [PATCH COLO-Frame v11 34/39] net/filter-buffer: Add default filter-buffer for each netdev

2015-11-29 Thread Li Zhijian
On 11/24/2015 05:25 PM, zhanghailiang wrote: We add each netdev a default filter-buffer, which will be used for COLO or Micro-checkpoint to buffer VM's packets. The name of default filter-buffer is 'nop'. For the default filter-buffer, it will not buffer any packets in default. So it has no side

Re: [Qemu-devel] [PATCH 01/40] 9pfs: allocate pdus with g_malloc/g_free

2015-11-29 Thread Fam Zheng
On Mon, 11/30 10:27, Fam Zheng wrote: > On Tue, 11/24 19:00, Paolo Bonzini wrote: > OK, and I think handle_9p_output no longer needs to check the returned > pointer. Yes it's removed in patch 3, good. Fam

Re: [Qemu-devel] [RFC PATCH 1/9] Init colo-proxy object based on netfilter

2015-11-29 Thread Wen Congyang
On 11/27/2015 08:27 PM, Zhang Chen wrote: > From: zhangchen > > add colo-proxy in vl.c and qemu-options.hx > > Signed-off-by: zhangchen > --- > qemu-options.hx | 4 > vl.c| 3 ++- > 2 files changed, 6

Re: [Qemu-devel] [RFC PATCH 3/9] colo-proxy: add colo-proxy framework

2015-11-29 Thread Wen Congyang
On 11/27/2015 08:27 PM, Zhang Chen wrote: > From: zhangchen > > Colo-proxy is a plugin of qemu netfilter > like filter-buffer and dump > > Signed-off-by: zhangchen > --- > net/Makefile.objs | 1 + > net/colo-proxy.c | 139 >

Re: [Qemu-devel] [PATCH 07/40] virtio: slim down allocation of VirtQueueElements

2015-11-29 Thread Fam Zheng
On Tue, 11/24 19:00, Paolo Bonzini wrote: > Build the addresses and s/g lists on the stack, and then copy them > to a VirtQueueElement that is just as big as required to contain this > particular s/g list. The cost of the copy is minimal compared to that > of a large malloc. > > When

Re: [Qemu-devel] [RFC PATCH 4/9] colo-proxy: add colo-proxy setup work

2015-11-29 Thread Zhang Chen
On 11/28/2015 11:02 AM, Hailiang Zhang wrote: On 2015/11/27 20:27, Zhang Chen wrote: From: zhangchen Secondary setup socket server for colo-forward primary setup connect to secondary for colo-forward add data structure will be uesed Signed-off-by: zhangchen

Re: [Qemu-devel] [Qemu-ppc] [PATCH for-2.5?] hw/ppc/ppc405_boards: Fix infinite recursion by converting taihu_cpld from old_mmio

2015-11-29 Thread David Gibson
On Tue, Nov 17, 2015 at 10:43:36AM +0100, Paolo Bonzini wrote: > > > On 16/11/2015 15:57, Peter Maydell wrote: > > The taihu_cpld_writel() function had an obvious typo that meant that > > if it was ever called it would go into an infinite recursion. Newer > > versions of clang will detect and

[Qemu-devel] question: about exec/poison.h

2015-11-29 Thread Peter Xu
Hi, all, I met one problem when trying to add a new public function in dump.h named "dump_state_get_global" and using it in hmp.c. What I got is something like: In file included from /root/git/qemu/hmp.c:35:0: /root/git/qemu/include/sysemu/dump.h:26:34: error: attempt to use poisoned

Re: [Qemu-devel] [PATCH v2 3/8] dump-guest-memory: add basic "detach" support.

2015-11-29 Thread Fam Zheng
On Sat, 11/28 13:51, Peter Xu wrote: > On Fri, Nov 27, 2015 at 01:14:25PM +0800, Fam Zheng wrote: > > On Fri, 11/27 10:48, Peter Xu wrote: > > [snip] > > > > > This patch doesn't handle the incoming migration case, i.e. when QEMU is > > started with "-incoming", or "-incoming defer". Dump can

Re: [Qemu-devel] [RFC PATCH 3/9] colo-proxy: add colo-proxy framework

2015-11-29 Thread Zhang Chen
On 11/28/2015 10:46 AM, Hailiang Zhang wrote: On 2015/11/27 20:27, Zhang Chen wrote: From: zhangchen Colo-proxy is a plugin of qemu netfilter like filter-buffer and dump Signed-off-by: zhangchen --- net/Makefile.objs | 1 +

Re: [Qemu-devel] [PATCH 03/40] virtio: move allocation to virtqueue_pop/vring_pop

2015-11-29 Thread Fam Zheng
On Tue, 11/24 19:00, Paolo Bonzini wrote: > @@ -436,10 +454,11 @@ static void control_out(VirtIODevice *vdev, VirtQueue > *vq) > buf = g_malloc(cur_len); > len = cur_len; > } > -iov_to_buf(elem.out_sg, elem.out_num, 0, buf, cur_len); > +

Re: [Qemu-devel] [PATCH V3 0/3] hw/pcie: Multi-root support for Q35

2015-11-29 Thread Laszlo Ersek
On 11/29/15 13:37, Marcel Apfelbaum wrote: > On 11/26/2015 07:01 PM, Laszlo Ersek wrote: >> Hello Marcel, >> > > [...] if you have ACPI table dumps from within an i440fx >> SeaBIOS Linux guest, both from before and after your QEMU patches, and >> those dumps are identical, then that's good

[Qemu-devel] [PULL 3/3] w32: Use gcc option -mthreads

2015-11-29 Thread Stefan Weil
QEMU uses threads / coroutines, therefore support for thread local storage and thread safe libraries (-D_MT) must be enabled by using -mthreads. Signed-off-by: Stefan Weil --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index

[Qemu-devel] [PULL 1/3] trace/simple: Fix warning and wrong trace file name for MinGW

2015-11-29 Thread Stefan Weil
On Windows, getpid() always returns an int value, but pid_t (which is expected by the format string) is either a 32 bit or a 64 bit value. Without a type cast (or a modified format string), the compiler prints a warning when building for 64 bit Windows and the resulting trace_file_name will

Re: [Qemu-devel] [PATCH for 2.5 1/1] e1000: fix hang of win2k12 shutdown with flood ping

2015-11-29 Thread Denis V. Lunev
On 11/30/2015 08:58 AM, Jason Wang wrote: On 11/27/2015 07:42 PM, Denis V. Lunev wrote: On 11/27/2015 09:50 AM, Denis V. Lunev wrote: On 11/27/2015 09:48 AM, Denis V. Lunev wrote: e1000 driver in Win2k12 is really well rotten. It 100% hangs on shutdown of UP VM under flood ping. The guest

[Qemu-devel] [PATCH for 2.5 1/2] net: pcnet: add check to validate receive data size(CVE-2015-7504)

2015-11-29 Thread Jason Wang
From: Prasad J Pandit In loopback mode, pcnet_receive routine appends CRC code to the receive buffer. If the data size given is same as the buffer size, the appended CRC code overwrites 4 bytes after s->buffer. Added a check to avoid that. Reported by: Qinghao Tang

[Qemu-devel] [PATCH for 2.5 2/2] pcnet: fix rx buffer overflow(CVE-2015-7512)

2015-11-29 Thread Jason Wang
Backends could provide a packet whose length is greater than buffer size. Check for this and truncate the packet to avoid rx buffer overflow in this case. Cc: Prasad J Pandit Cc: qemu-sta...@nongnu.org Signed-off-by: Jason Wang --- hw/net/pcnet.c |

Re: [Qemu-devel] [PATCH] Give detailed info when pcie downstream port init failed

2015-11-29 Thread Markus Armbruster
Cao jin writes: > On 11/27/2015 10:22 PM, Markus Armbruster wrote: >> Cao jin writes: >> >>> Hi, Markus >>> >>> On 11/24/2015 06:08 PM, Markus Armbruster wrote: > [...] >>> >>> and this will cover to output to the monitor, right? >> >> The

Re: [Qemu-devel] [RFC PATCH 5/9] net/colo-proxy: add colo packet handler

2015-11-29 Thread Zhang Chen
On 11/28/2015 11:17 AM, Hailiang Zhang wrote: On 2015/11/27 20:27, Zhang Chen wrote: From: zhangchen add primary and secondary handler Signed-off-by: zhangchen --- net/colo-proxy.c | 105

Re: [Qemu-devel] [RFC PATCH 1/9] Init colo-proxy object based on netfilter

2015-11-29 Thread Zhang Chen
On 11/30/2015 10:50 AM, Wen Congyang wrote: On 11/27/2015 08:27 PM, Zhang Chen wrote: From: zhangchen add colo-proxy in vl.c and qemu-options.hx Signed-off-by: zhangchen --- qemu-options.hx | 4 vl.c| 3 ++-

[Qemu-devel] Question about nonblocking stderr and lost logs

2015-11-29 Thread Sam Bobroff
Hi QEMU programmers, While doing some experimental work on QEMU that has involved adding a lot of new log messages (using qemu_log_mask()), I've discovered that under some conditions a lot of my log messages go missing. I've tracked the issue down to qemu_logfile being left at the default

Re: [Qemu-devel] [PATCH for 2.5 1/1] e1000: fix hang of win2k12 shutdown with flood ping

2015-11-29 Thread Jason Wang
On 11/27/2015 07:42 PM, Denis V. Lunev wrote: > On 11/27/2015 09:50 AM, Denis V. Lunev wrote: >> On 11/27/2015 09:48 AM, Denis V. Lunev wrote: >>> e1000 driver in Win2k12 is really well rotten. It 100% hangs on >>> shutdown >>> of UP VM under flood ping. The guest checks card state and reinjects

Re: [Qemu-devel] [PATCH v1 1/2] sd: sdhci: Delete over-zealous power check

2015-11-29 Thread Sai Pavan Boddu
> -Original Message- > From: Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com] > Sent: Sunday, November 29, 2015 2:21 AM > To: qemu-devel@nongnu.org; j...@tribudubois.net > Cc: Sai Pavan Boddu; qemu-bl...@nongnu.org; Peter Crosthwaite > Subject: [PATCH v1 1/2] sd: sdhci: Delete

Re: [Qemu-devel] [PATCH 1/4] vmxnet3: The vmxnet3 device is a PCIE endpoint

2015-11-29 Thread Jason Wang
On 11/30/2015 05:07 AM, Shmulik Ladkani wrote: > Hi, > > On Wed, 25 Nov 2015 16:24:39 +0800 Jason Wang wrote: > @@ -2568,6 +2572,7 @@ static void vmxnet3_class_init(ObjectClass *class, > void *data) > c->class_id = PCI_CLASS_NETWORK_ETHERNET; >

Re: [Qemu-devel] [RFC PATCH 3/9] colo-proxy: add colo-proxy framework

2015-11-29 Thread Zhang Chen
On 11/30/2015 11:10 AM, Wen Congyang wrote: On 11/27/2015 08:27 PM, Zhang Chen wrote: From: zhangchen Colo-proxy is a plugin of qemu netfilter like filter-buffer and dump Signed-off-by: zhangchen --- net/Makefile.objs | 1 +

[Qemu-devel] [PULL 0/3] wxx: Last minute fixes for 2.5

2015-11-29 Thread Stefan Weil
The following changes since commit 714487515dbe0c65d5904251e796cd3a5b3579fb: Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into staging (2015-11-27 10:44:42 +) are available in the git repository at: git://qemu.weilnetz.de/qemu.git tags/pull-wxx-20151130 for

[Qemu-devel] [PULL 2/3] oslib-win32: Change return type of function getpagesize

2015-11-29 Thread Stefan Weil
getpagesize on Linux returns an int. Fix QEMU's implementation for Windows to return an int (instead of size_t), too. This fixes a compiler warning which was introduced recently (commit 093e3c42). Signed-off-by: Stefan Weil --- include/sysemu/os-win32.h | 2 +-

Re: [Qemu-devel] [RFC PATCH v3 3/5] kvm_arm: Pass requester ID to MSI routing functions

2015-11-29 Thread Pavel Fedin
Hello! > > +route->u.msi.devid = pci_requester_id(dev); > > +} > > Is there anything that would go wrong if we just always set > the u.msi.devid and the VALID_DEVID flag? (ie do we need the > kvm_arm_msi_use_devid bool?) Current kernels always make sure that flags == 0, or they

Re: [Qemu-devel] [RFC PATCH V2 0/3] IXGBE/VFIO: Add live migration support for SRIOV NIC

2015-11-29 Thread Lan, Tianyu
On 11/26/2015 11:56 AM, Alexander Duyck wrote: > I am not saying you cannot modify the drivers, however what you are doing is far too invasive. Do you seriously plan on modifying all of the PCI device drivers out there in order to allow any device that might be direct assigned to a port to

Re: [Qemu-devel] [RFC PATCH v3 1/5] hw/intc: Implement ITS base class

2015-11-29 Thread Pavel Fedin
Hello! > > +/* Our two regions are always adjacent, therefore we now combine them > > + * into a single one in order to make our users' life easier. > > + */ > > +memory_region_init(>iomem_main, OBJECT(s), "gicv3_its", ITS_SIZE); > > +memory_region_add_subregion(>iomem_main,

Re: [Qemu-devel] [PATCH v5 04/10] cpu: Reclaim vCPU objects

2015-11-29 Thread Alexey Kardashevskiy
On 11/20/2015 11:54 PM, Bharata B Rao wrote: From: Gu Zheng In order to deal well with the kvm vcpus (which can not be removed without any protection), we do not close KVM vcpu fd, just record and mark it as stopped into a list, so that we can reuse it for the

Re: [Qemu-devel] [PATCH v1 2/2] arm: fsl-imx25: Add SD support

2015-11-29 Thread Jean-Christophe DUBOIS
Hello Peter, Le 28/11/2015 21:50, Peter Crosthwaite a écrit : Add the two SD card controllers as the generic sysbus SDHCI device. Tested as sucessfully working with Linux 4.2. using the SD card for the root file system. I guess the SDHCI device present in Qemu is (surprisingly) close enough

Re: [Qemu-devel] [PATCH v4 3/3] i.MX: Add an i.MX25 specific CCM class/instance.

2015-11-29 Thread Jean-Christophe DUBOIS
Le 27/11/2015 21:26, Peter Crosthwaite a écrit : On Fri, Nov 27, 2015 at 11:54 AM, Jean-Christophe DUBOIS wrote: Le 27/11/2015 03:39, Peter Crosthwaite a écrit : On Wed, Nov 25, 2015 at 11:16 PM, Jean-Christophe Dubois wrote: Signed-off-by:

Re: [Qemu-devel] [PATCH 01/40] 9pfs: allocate pdus with g_malloc/g_free

2015-11-29 Thread Fam Zheng
On Tue, 11/24 19:00, Paolo Bonzini wrote: > Prepare for moving the allocation to virtqueue_pop. > > Signed-off-by: Paolo Bonzini > --- > hw/9pfs/virtio-9p-device.c | 7 +-- > hw/9pfs/virtio-9p.c| 10 +++--- > hw/9pfs/virtio-9p.h| 2 -- > 3 files