[Qemu-devel] [PATCH v3 resend 02/11] ARM: Prepare translation for AArch64 code

2013-05-12 Thread John Rigby
From: Alexander Graf This patch adds all the prerequisites for AArch64 support that didn't fit into split up patches. It extends important bits in the core cpu headers to also take AArch64 mode into account. Add new ARM_TBFLAG_AARCH64_STATE translation buffer flag indicate an ARMv8 cpu running i

[Qemu-devel] [PATCH v3 resend 01/11] ARM: Export cpu_env

2013-05-12 Thread John Rigby
From: Alexander Graf The cpu_env tcg variable will be used by both the AArch32 and AArch64 handling code. Unstaticify it, so that both sides can make use of it. Signed-off-by: Alexander Graf Signed-off-by: John Rigby --- Changes in v3: - None because consensus alternative to non static arm cp

[Qemu-devel] [PATCH v3 resend 00/11] AArch64 preparation patch set

2013-05-12 Thread John Rigby
Resend of v3 with part 6 removed and change notes included. Alexander Graf (10): ARM: Export cpu_env ARM: Prepare translation for AArch64 code ARM: Add AArch64 translation stub AArch64: Add gdb stub linux-user: Don't treat aarch64 cpu names specially linux-user: Add syscall handling fo

Re: [Qemu-devel] [PATCH v3 00/11] qapi: add support for lists of native types

2013-05-12 Thread Laszlo Ersek
On 05/11/13 00:45, Michael Roth wrote: > These patches apply on top of qemu.git master, and can also be obtained from: > git://github.com/mdroth/qemu.git qapi-native-lists > > Sending this now since a number of series have popped up in the past that > wanted this, and Amos has some pending patches

[Qemu-devel] [PATCH v3 11/12] ARM: Add aarch64 target to configure

2013-05-12 Thread John Rigby
From: Alexander Graf If we want to compile a target machine type that is AArch64 capable, we need to add a new 64-bit capable ARM target. Use AArch64 since that is the official ARM LTD name. Signed-off-by: Alexander Graf Signed-off-by: John Rigby --- configure| 8 lin

[Qemu-devel] [PATCH v3 10/12] linux-user: Add AArch64 support

2013-05-12 Thread John Rigby
From: Alexander Graf This patch adds support for AArch64 in all the small corners of linux-user and beyond. Signed-off-by: Alexander Graf Signed-off-by: John Rigby --- default-configs/aarch64-linux-user.mak | 3 + linux-user/aarch64/syscall.h | 37 ++ linux-user/aarch64/targe

Re: [Qemu-devel] [PATCH v3 06/12] linux-user: AArch64 requires at least 3.8.0

2013-05-12 Thread John Rigby
ignore this part 6/12 one, somehow I neglected to remove it from the series the fix in 12/12 is the one riku recommended

[Qemu-devel] [PATCH v3 07/12] linux-user: Add syscall handling for AArch64

2013-05-12 Thread John Rigby
From: Alexander Graf The AArch64 syscall definitions are all publicly available in the Linux kernel. Let's add them to our linux-user emulation target, so that we can easily handle AArch64 syscalls. Signed-off-by: Alexander Graf Signed-off-by: John Rigby --- linux-user/aarch64/syscall_nr.h |

[Qemu-devel] [PATCH v3 05/12] linux-user: Don't treat aarch64 cpu names specially

2013-05-12 Thread John Rigby
From: Alexander Graf 32-bit ARM has a lot of different names for different types of CPUs it supports. On AArch64, we don't have this, so we really don't want to execute the 32-bit logic. Stub it out for AArch64 linux-user guests. Signed-off-by: Alexander Graf Signed-off-by: John Rigby --- lin

[Qemu-devel] [PATCH v3 12/12] linux-user: AArch64 requires at least 3.8.0

2013-05-12 Thread John Rigby
From: Alexander Graf Glibc 1.17 checks for the host kernel version on startup. Unfortunately, it also checks whether the host kernel version is recent enough for the target to run at all. Since AArch64 support only got introduced in 3.8.0, that means that glibc refuses to run on any older kernel

[Qemu-devel] [PATCH v3 04/12] AArch64: Add gdb stub

2013-05-12 Thread John Rigby
From: Alexander Graf We want to be able to debug AArch64 guests. So let's add the respective gdb stub functions and xml descriptions that allow us to do so. Signed-off-by: Alexander Graf Signed-off-by: John Rigby --- gdb-xml/aarch64-core.xml | 46 ++ gdb-xml/aarch64-fp

[Qemu-devel] [PATCH v3 09/12] linux-user: Add signal handling for AArch64

2013-05-12 Thread John Rigby
From: Andreas Schwab This patch adds signal handling for AArch64. The code is based on the respective source in the Linux kernel. Signed-off-by: Andreas Schwab Signed-off-by: Alexander Graf Signed-off-by: John Rigby --- linux-user/arm/target_signal.h | 4 + linux-user/signal.c|

[Qemu-devel] [PATCH v3 06/12] linux-user: AArch64 requires at least 3.8.0

2013-05-12 Thread John Rigby
From: Alexander Graf Glibc 1.17 checks for the host kernel version on startup. Unfortunately, it also checks whether the host kernel version is recent enough for the target to run at all. Since AArch64 support only got introduced in 3.8.0, that means that glibc refuses to run on any older kernel

[Qemu-devel] [PATCH v3 02/12] ARM: Prepare translation for AArch64 code

2013-05-12 Thread John Rigby
From: Alexander Graf This patch adds all the prerequisites for AArch64 support that didn't fit into split up patches. It extends important bits in the core cpu headers to also take AArch64 mode into account. Add new ARM_TBFLAG_AARCH64_STATE translation buffer flag indicate an ARMv8 cpu running i

[Qemu-devel] [PATCH v3 08/12] linux-user: Fix up AArch64 syscall handlers

2013-05-12 Thread John Rigby
From: Alexander Graf Some syscall handlers have special code for ARM enabled that we don't need on AArch64. Exclude AArch64 in those cases. In other places we can share struct definitions with other targets or have to provide our own. With this patch applied, most syscall definitions in linux-us

[Qemu-devel] [PATCH v3 03/12] ARM: Add AArch64 translation stub

2013-05-12 Thread John Rigby
From: Alexander Graf We should translate AArch64 mode separately from AArch32 mode. In AArch64 mode, registers look vastly different, instruction encoding is completely different, basically the system turns into a different machine. So let's do a simple if() in translate.c to decide whether we c

[Qemu-devel] [PATCH v3 01/12] ARM: Export cpu_env

2013-05-12 Thread John Rigby
From: Alexander Graf The cpu_env tcg variable will be used by both the AArch32 and AArch64 handling code. Unstaticify it, so that both sides can make use of it. Signed-off-by: Alexander Graf Signed-off-by: John Rigby --- target-arm/translate.c | 2 +- target-arm/translate.h | 2 ++ 2 files ch

[Qemu-devel] [PATCH v3 00/12] AArch64 preparation patch set

2013-05-12 Thread John Rigby
Version 3 of series to add Aarch64 support. Alexander Graf (11): ARM: Export cpu_env ARM: Prepare translation for AArch64 code ARM: Add AArch64 translation stub AArch64: Add gdb stub linux-user: Don't treat aarch64 cpu names specially linux-user: AArch64 requires at least 3.8.0 linux

[Qemu-devel] regression: (was Re: [PATCH v3] migration: initialize RAM to zero)

2013-05-12 Thread Amos Kong
On Tue, Apr 09, 2013 at 05:43:43PM +0200, Paolo Bonzini wrote: > Using qemu_memalign only leaves the RAM zero by chance, because libc > will usually use mmap to satisfy our huge requests. But memory will > not be zero when using MALLOC_PERTURB_ with a nonzero value. In the > case of incoming migr

Re: [Qemu-devel] [PATCH] Remove twice include of qemu-common.h

2013-05-12 Thread Stefan Weil
Am 08.05.2013 06:39, schrieb qiaonuo...@cn.fujitsu.com: > From: Qiao Nuohan > > This patch is used to remove twice include of "qemu-common.h" in > block/win32-aio.c > > Signed-off-by: Qiao Nuohan > --- > block/win32-aio.c |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --gi

Re: [Qemu-devel] [PATCH] Remove twice include of qemu-common.h

2013-05-12 Thread Peter Crosthwaite
cc qemu-trivial Thanks for the patch. Regards, Peter On Wed, May 8, 2013 at 2:39 PM, wrote: > From: Qiao Nuohan > > This patch is used to remove twice include of "qemu-common.h" in > block/win32-aio.c > > Signed-off-by: Qiao Nuohan > --- > block/win32-aio.c |1 - > 1 files changed, 0 in

[Qemu-devel] [PATCH] Remove twice include of qemu-common.h

2013-05-12 Thread qiaonuohan
From: Qiao Nuohan This patch is used to remove twice include of "qemu-common.h" in block/win32-aio.c Signed-off-by: Qiao Nuohan --- block/win32-aio.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/block/win32-aio.c b/block/win32-aio.c index 5d0fbbf..fcb7c75 100644 ---

[Qemu-devel] [Bug 1179357] [NEW] Assigned ID could not be used for net-client name

2013-05-12 Thread Amos Kong
Public bug reported: As discussed in maillist: http://lists.nongnu.org/archive/html/qemu- devel/2013-04/msg03582.html [this problem still existed in latest qemu.git] qemu -device virtio-net-pci,netdev=ndev1,id=id1 -netdev tap,id=ndev1 \ -device e1000,netdev=ndev2,id=id2 -netdev ta

[Qemu-devel] [PATCH] Fix usage of USB_DEV_FLAG_IS_HOST flag.

2013-05-12 Thread Michael Marineau
USB_DEV_FLAG_IS_HOST is the bit number, not value. Booting with a "Fitbit Base Station" USB dongle was triggering this assert. Signed-off-by: Michael Marineau --- hw/usb/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/usb/core.c b/hw/usb/core.c index 15a150a..05948c

[Qemu-devel] [Bug 1179219] Re: segfault in alloc_refcount_block

2013-05-12 Thread Michael Tokarev
First, having a single qcow2 file open for read-write access by more than one process in unsupported. Second, this version of qemu/kvm is too old to be supported upstream, it's a few years old already and there has been *lots* of changes since that version. ** Changed in: qemu Status: New

[Qemu-devel] [RFC PATCH 2/2] mem: prepare address_space listener rcu style

2013-05-12 Thread Liu Ping Fan
From: Liu Ping Fan Each address space listener has PhysPageMap *cur_map, *next_map, the switch from cur_map to next_map complete the RCU style. The mem_commit() do the switch, and it is against reader but AddressSpace's lock or later RCU mechanism (around address_space_translate() ). Signed-off-

[Qemu-devel] [RFC PATCH 1/2] mem: make phys_section and phys_map_nodes prepared for RCU

2013-05-12 Thread Liu Ping Fan
From: Liu Ping Fan Now, each AddressSpaceDispatch has its own radix-tree, and all of them lie on phys_section[] and phys_map_nodes[]. When we want lockless mmio dispatch, we need something like RCU. Acheive this with PhysPageTable which contains all of the info for all radix trees. After all add

[Qemu-devel] [RFC PATCH 0/2] make memory listener prepared for rcu style

2013-05-12 Thread Liu Ping Fan
From: Liu Ping Fan This is an old idea, I post last year, http://permalink.gmane.org/gmane.comp.emulators.qemu/164845 I rebase it, after Paolo's [PATCH 00/40] Memory-related changes sneak peek for 1.6 (Paolo's tree git://github.com/bonzini/qemu.git, branch iommu.) Open issue--the dependency

[Qemu-devel] [PATCH 7/9 v2] Add API to free buf used by creating header, bitmap and page

2013-05-12 Thread qiaonuohan
From: Qiao Nuohan When calling create_header, create_dump_bitmap and create_pages, some memory spaces are allocated. The following patch will use this function to free these spaces. Signed-off-by: Qiao Nuohan Reviewed-by: Zhang Xiaohe --- dump.c | 19 +++ 1 files changed, 1

[Qemu-devel] [PATCH 4/9 v2] Add API to create header of vmcore

2013-05-12 Thread qiaonuohan
From: Qiao Nuohan Add API to create header, sub header of vmcore in kdump-compressed format. The data is store in struct DumpState. The following patch will use this function to gather data of header, then write them into vmcore. Signed-off-by: Qiao Nuohan Reviewed-by: Zhang Xiaohe --- dump.

[Qemu-devel] [PATCH 5/9 v2] Add API to create data of dump bitmap

2013-05-12 Thread qiaonuohan
From: Qiao Nuohan Add API to get data of the 1st and 2nd dump bitmap and save them into tmp files. The following patch will use these functions to gather data of dump bitmap, then write them into vmcore. Signed-off-by: Qiao Nuohan Reviewed-by: Zhang Xiaohe --- dump.c| 98 +++

[Qemu-devel] [PATCH 9/9 v2] Make monitor command 'dump-guest-memory' dump in kdump-compressed format

2013-05-12 Thread qiaonuohan
From: Qiao Nuohan Make monitor command 'dump-guest-memory' dump in kdump-compressed format. The command's usage: dump [-p] protocol [begin] [length] [format] 'format' is used to specified the format of vmcore and can be: 1. 'elf': ELF format, without compression 2. 'zlib': kdump-compressed form

[Qemu-devel] [PATCH 8/9 v2] Add API to write header, bitmap and page into vmcore

2013-05-12 Thread qiaonuohan
From: Qiao Nuohan The following patch will use these functions to write cached data into vmcore. Header is cached in DumpState, and bitmap and page are cached in tmp files. Signed-off-by: Qiao Nuohan Reviewed-by: Zhang Xiaohe --- dump.c| 259 ++

[Qemu-devel] [PATCH 6/9 v2] Add API to create page

2013-05-12 Thread qiaonuohan
From: Qiao Nuohan Add API to get data of page desc and page data and save them into tmp files. The following patch will use these functions to gather data of page desc and page data, then write them into vmcore Signed-off-by: Qiao Nuohan Reviewed-by: Zhang Xiaohe --- dump.c|

[Qemu-devel] [PATCH 1/9 v2] Add API to manipulate dump_bitmap

2013-05-12 Thread qiaonuohan
From: Qiao Nuohan Struct dump_bitmap is associated with a tmp file, and the tmp file can be used to save data of bitmap in kdump-compressed format temporarily. The following patch will use these functions to get the data of bitmap and cache them into tmp files. Signed-off-by: Qiao Nuohan Review

[Qemu-devel] [PATCH 3/9 v2] Move includes and struct definition to dump.h

2013-05-12 Thread qiaonuohan
From: Qiao Nuohan Move includes and definition of struct DumpState into include/sysemu/dump.h. Signed-off-by: Qiao Nuohan Reviewed-by: Zhang Xiaohe --- dump.c| 29 - include/sysemu/dump.h | 30 ++ 2 files changed, 30

[Qemu-devel] [PATCH 2/9 v2] Add API to manipulate cache_data

2013-05-12 Thread qiaonuohan
From: Qiao Nuohan Struct dump_bitmap is associated with a tmp file, and the tmp file can be used to save data of page desc and page data in kdump-compressed format temporarily. The following patch will use these function to get the data of page desc and page data and cache them in tmp files. Sig

[Qemu-devel] [PATCH 0/9 v2] Make monitor command 'dump-guest-memory' dump in kdump-compressed format

2013-05-12 Thread qiaonuohan
From: Qiao Nuohan Hi, all The last version is here: http://lists.gnu.org/archive/html/qemu-devel/2013-05/msg00803.html Command 'dump-guest-memory' was introduced to dump guest's memory. But the vmcore's format is only elf32 or elf64. The message is here: http://lists.gnu.org/archive/html/qemu-d

Re: [Qemu-devel] [PATCH 0/9 v2] Make monitor command 'dump-guest-memory' dump in kdump-compressed format

2013-05-12 Thread qiaonuohan
Sorry, the cc list is wrong, I will resend the mails. > -Original Message- > From: qiaonuo...@cn.fujitsu.com [mailto:qiaonuo...@cn.fujitsu.com] > Sent: Wednesday, May 08, 2013 9:54 AM > To: qemu-devel@nongnu.org > Cc: > ebl...@redhat.com.berra...@redhat.com.afaer...@suse.de.d.hatayama@jp.fu

[Qemu-devel] [PATCH v2] target-mips: clean-up in BIT_INSV

2013-05-12 Thread Petar Jovanovic
From: Petar Jovanovic This is a small follow-up change to "fix incorrect behaviour for INSV". It includes two minor modifications: - sizefilter is constant so it can be moved inside of the block, - several lines of the code are replaced with a call to deposit64. No functional change. Signed-o

Re: [Qemu-devel] [PATCH] target-mips: clean-up in BIT_INSV

2013-05-12 Thread Petar Jovanovic
True. Nice catch. This will simplify this section even more. I will send an updated patch with this change included. Petar From: Peter Maydell [peter.mayd...@linaro.org] Sent: Thursday, May 09, 2013 7:54 PM To: Petar Jovanovic Cc: qemu-devel@nongnu.org; Pet

Re: [Qemu-devel] [Bug 1179219] Re: segfault in alloc_refcount_block

2013-05-12 Thread Brian J. Murrell
On 13-05-12 05:14 PM, Michael Tokarev wrote: > First, having a single qcow2 file open for read-write access by more > than one process in unsupported. But I don't, if I understand how qcow2 snapshots work. Let me apologize if I was not clear. Each of the VMs have their own snapshot of the common

[Qemu-devel] [Bug 1094564] Re: images used as scsi disks not readable (qemu-system-arm, macos 10.8)

2013-05-12 Thread Peter Maydell
And the same QEMU/kernel/image works fine on a Linux host? If you can provide the files I need to reproduce I might be able to take a look at it. (If it did the same thing on linux host that would be higher priority for me, so if you can cross-check that would be helpful.) -- You received this b

[Qemu-devel] [Bug 1179104] Re: client crash during debian ppc installation

2013-05-12 Thread Michael Tokarev
Adding to the lot, from the same gdb session. (gdb) frame 3 #3 0x5664fe06 in ide_trim_bh_cb (opaque=0x57282c28) at hw/ide/core.c:360 360 iocb->common.cb(iocb->common.opaque, iocb->ret); (gdb) l 355 356 static void ide_trim_bh_cb(void *opaque) 357 { 358 TrimAIOCB *ioc

Re: [Qemu-devel] [RFC PATCH v5 3/3] Force auto-convegence of live migration

2013-05-12 Thread Paolo Bonzini
Il 10/05/2013 17:11, Anthony Liguori ha scritto: > Chegu Vinod writes: > >> On 5/10/2013 6:07 AM, Anthony Liguori wrote: >>> Chegu Vinod writes: >>> If a user chooses to turn on the auto-converge migration capability these changes detect the lack of convergence and throttle down th

[Qemu-devel] [Bug 1094564] Re: images used as scsi disks not readable (qemu-system-arm, macos 10.8)

2013-05-12 Thread Joss Reeves
Hi Peter, Thanks, that made an improvement. Now I'm just stuck in a loop of the kernel resetting the scsi bus :) (see attachment) ** Attachment added: "Endless resets" https://bugs.launchpad.net/qemu/+bug/1094564/+attachment/3674705/+files/Screen%20Shot%202013-05-12%20at%2012.38.33%20PM.png

Re: [Qemu-devel] [PATCH v2 0/2] qga umask fix addenda

2013-05-12 Thread Andreas Färber
Am 10.05.2013 22:09, schrieb mdroth: > On Fri, May 10, 2013 at 09:53:27PM +0200, Laszlo Ersek wrote: >> On 05/10/13 21:30, mdroth wrote: >>> On Wed, May 08, 2013 at 05:31:34PM +0200, Laszlo Ersek wrote: I should have paid more attention to portability and error path cleanup in the CVE-201

[Qemu-devel] [Bug 1094564] Re: images used as scsi disks not readable (qemu-system-arm, macos 10.8)

2013-05-12 Thread Joss Reeves
I managed to capture a little more info about this bug by passing -drive file='myharddrive.img'. The kernel panic is happening in the sym53c8xx driver. See the attached screenshot for detail. I can also attach the kernel that I'm using if needed. Just let me know. ** Attachment added: "Kernel pa

[Qemu-devel] [Bug 1094564] Re: images used as scsi disks not readable (qemu-system-arm, macos 10.8)

2013-05-12 Thread Peter Maydell
I suspect this may be because we were defaulting to a broken coroutine backend (a bug fixed with commit 7c2acc7). Can you retry with the current 1.5 release candidate? (source download available at http://wiki.qemu.org/Download) -- You received this bug notification because you are a member of qe

[Qemu-devel] [RFC] QEMU Guest and Host channel

2013-05-12 Thread Dong Xu Wang
Hi, Now QEMU has a guest agent tool: http://wiki.qemu.org/Features/QAPI/GuestAgent Guest agent is used to send "guest agent commands" to agent, and agent will do some work and return the results via QMP protocol. Now qemu-guest-agent is mainly for single direction: Host->Guest, that is users

[Qemu-devel] [Bug 1179219] [NEW] segfault in alloc_refcount_block

2013-05-12 Thread Brian J. Murrell
Public bug reported: On CentOS-6.4.latest, I am trying to run several KVM VMs with snapshots of a single qcow2 image. Randomly some VMs will crash though. There's a downstream bug report at http://bugs.centos.org/view.php?id=6441 and included in that is an "abrt" crash report that contains the f

[Qemu-devel] [Bug 1179104] Re: client crash during debian ppc installation

2013-05-12 Thread Bug Watch Updater
** Changed in: qemu (Debian) Status: Unknown => Confirmed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1179104 Title: client crash during debian ppc installation Status in QEMU: Confirme

[Qemu-devel] [Bug 1094564] Re: images used as scsi disks not readable (qemu-system-arm, macos 10.8)

2013-05-12 Thread Joss Reeves
I duplicated this as well. I tried both the qemu-system-arm available in macports and also from homebrew with the same results. Host system is also 10.8 "mountain lion". My boot command: qemu-system-arm -kernel kernel/zImage -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root

[Qemu-devel] [Bug 1179104] Re: client crash during debian ppc installation

2013-05-12 Thread Michael Tokarev
** Changed in: qemu Status: New => Confirmed ** Bug watch added: Debian Bug tracker #707732 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707732 ** Also affects: qemu (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707732 Importance: Unknown Status: Unknown

[Qemu-devel] [Bug 1179104] Re: client crash during debian ppc installation

2013-05-12 Thread Michael Tokarev
This looks like some TRIM (mis)support in action. It crashes in different paces but repeatable/reproducible (ie, it crash with different error on my system, but the error is always the same on my system). Running it under gdb: (gdb) ru -m 256 -hda /stage/tmp/mjt/tmp/ppc.img -cdrom /stage/tmp/mjt

Re: [Qemu-devel] [PATCH v5 0/4] Add i.MX25 support through the 3DS evaluation board

2013-05-12 Thread Peter Maydell
On 12 May 2013 13:55, Jean-Christophe DUBOIS wrote: > In your opinion, is this patch set good enough in its actual state for > inclusion? > > Are you expecting anything else from me (beside maybe adding more i.MX > devices in the future)? I haven't looked at this series yet because we're in codef

Re: [Qemu-devel] [PATCH v5 0/4] Add i.MX25 support through the 3DS evaluation board

2013-05-12 Thread Jean-Christophe DUBOIS
Peter (and all), In your opinion, is this patch set good enough in its actual state for inclusion? Are you expecting anything else from me (beside maybe adding more i.MX devices in the future)? Thanks JC On 05/08/2013 10:28 AM, Jean-Christophe DUBOIS wrote: This series of patches add the

Re: [Qemu-devel] [PATCH] [KVM] Needless to update msi route when only msi-x entry "control" section changed

2013-05-12 Thread Michael S. Tsirkin
On Tue, May 07, 2013 at 01:53:03AM +, Zhanghaoyu (A) wrote: > >> >> With regard to old version linux guest(e.g., rhel-5.5), in ISR > >> >> processing, mask and unmask msi-x vector every time, which result in > >> >> VMEXIT, then QEMU will invoke kvm_irqchip_update_msi_route() to ask KVM > >>

Re: [Qemu-devel] [PATCH 0/2] pci-assign: MSI affinity support

2013-05-12 Thread Michael S. Tsirkin
On Fri, May 10, 2013 at 02:40:04PM +0200, Jan Kiszka wrote: > On 2013-05-09 18:35, Alex Williamson wrote: > > I posted these about 6 months ago and Jan felt we should implement > > MSI notifiers like we have for MSI-X. That still hasn't happened. > > Device assignments are the only currently know

[Qemu-devel] [PATCH v3] arch_init/ram_load: add error message for block length mismatch

2013-05-12 Thread Alon Levy
Makes it easier to debug situations where the source and target have different ram blocks in a device and migration fails due to that, for instance a BAR size change on a PCI device. Signed-off-by: Alon Levy --- v3: use RAM_ADDR_FMT arch_init.c | 3 +++ 1 file changed, 3 insertions(+) diff --g

[Qemu-devel] [Bug 1176366] Re: TCPIP not working on qemu 1.4.50 (master)

2013-05-12 Thread TC1988
looks like it also happens in 1.5.0-rc1, will check later with git bisect in the latest git release based on rc1. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1176366 Title: TCPIP not working on q

Re: [Qemu-devel] [PATCH 2/2] pci-assign: Add MSI affinity support

2013-05-12 Thread Michael S. Tsirkin
On Thu, May 09, 2013 at 10:36:05AM -0600, Alex Williamson wrote: > Track the last MSIMessage programmed so we can determine when it has > changed and update the routing to the guest. > > Signed-off-by: Alex Williamson > --- > hw/i386/kvm/pci-assign.c | 27 +++ > 1 file

Re: [Qemu-devel] [PATCH] [KVM] Needless to update msi route when only msi-x entry "control" section changed

2013-05-12 Thread Michael S. Tsirkin
On Mon, May 06, 2013 at 01:00:09PM +0300, Michael S. Tsirkin wrote: > On Mon, May 06, 2013 at 02:52:37AM +, Zhanghaoyu (A) wrote: > > >> With regard to old version linux guest(e.g., rhel-5.5), in ISR > > >> processing, mask and unmask msi-x vector every time, which result in > > >> VMEXIT, th

Re: [Qemu-devel] [GIT PULL for-1.5] Trivial patches for 2013-05-12

2013-05-12 Thread Michael Tokarev
12.05.2013 13:32, Michael Tokarev wrote: [] > The following changes since commit 38ebb396c955ceb2ef7e246248ceb7f8bfe1b774: > > target-i386: ROR r8/r16 imm instruction fix (2013-05-10 19:59:54 +0200) > > are available in the git repository at: > > git://git.corpit.ru/qemu.git trivial-patches-

[Qemu-devel] [GIT PULL for-1.5] Trivial patches for 2013-05-12

2013-05-12 Thread Michael Tokarev
Here goes the official pull request for the trivial patch queue for qemu 1.5 release. I already sent a smaller pull request when 1.5-rc0 has been tagged, but that one went unanswered. So the next pull request includes patches previously sent. This series contains just the trivial stuff, with the

Re: [Qemu-devel] [PATCH for-1.5] isapc: Fix non-KVM qemu boot (read/write memory for isapc BIOS)

2013-05-12 Thread Paolo Bonzini
Il 10/05/2013 23:41, Jordan Justen ha scritto: > The isapc machine with seabios currently requires the BIOS region > to be read/write memory rather than read-only memory. > > KVM currently cannot support the BIOS as a ROM region, but qemu > in non-KVM mode can. Based on this, isapc machine current

Re: [Qemu-devel] [PATCH for-1.5 V2] osdep.h: include sys/types.h for ssize_t definition

2013-05-12 Thread Stefan Weil
Am 10.05.2013 21:58, schrieb Igor Mitsyanko: > sys/types.h is taken out from "ifdef __OpenBSD__" guard. It should be > safe for other systems, according to following survey: > http://hacks.owlfolio.org/header-survey/ > > This fixes build for CONFIG_IOVEC-less systems (mingw). > > Signed-off-by: Igo

Re: [Qemu-devel] [Qemu-trivial] [PATCH V2] osdep.h: include sys/types.h for ssize_t definition

2013-05-12 Thread Michael Tokarev
10.05.2013 23:58, Igor Mitsyanko wrote: > sys/types.h is taken out from "ifdef __OpenBSD__" guard. It should be > safe for other systems, according to following survey: > http://hacks.owlfolio.org/header-survey/ > > This fixes build for CONFIG_IOVEC-less systems (mingw). Thanks, applied to the tr