[Qemu-devel] [PATCH] nsis: Improved support for parallel installation of 32 and 64 bit code

2013-09-28 Thread Stefan Weil
32 and 64 bit variants of QEMU already had different default installation directories, but used a common registry key for saving the choosen directory. This is confusing for users who want to install both variants, so fix it by using different registry keys. Signed-off-by: Stefan Weil

[Qemu-devel] [PATCH] block: Remove unused assignment (fixes warning from clang)

2013-09-28 Thread Stefan Weil
blockdev.c:1929:13: warning: Value stored to 'ret' is never read ret = 0; ^ ~ Signed-off-by: Stefan Weil s...@weilnetz.de --- blockdev.c |1 - 1 file changed, 1 deletion(-) diff --git a/blockdev.c b/blockdev.c index 8aa66a9..8c83f6f 100644 --- a/blockdev.c +++

Re: [Qemu-devel] [RFC v5 0/5] hw/arm: add initial support for Canon DIGIC SoC: ping-ping-ping

2013-09-28 Thread Antony Pavlov
On Fri, 20 Sep 2013 13:01:14 +0400 Antony Pavlov antonynpav...@gmail.com wrote: ping-ping-ping On Fri, 13 Sep 2013 18:37:27 +0400 Antony Pavlov antonynpav...@gmail.com wrote: ping-ping On Sat, 7 Sep 2013 11:04:22 +0400 Antony Pavlov antonynpav...@gmail.com wrote: ping [RFC v5

Re: [Qemu-devel] [PATCH 1/6] kvm: Add KVM_GET_EMULATED_CPUID

2013-09-28 Thread Borislav Petkov
On Fri, Sep 27, 2013 at 11:21:34AM -0300, Eduardo Habkost wrote: The problem here is that requested_features doesn't include just the explicit +flag flags, but any flag included in the CPU model definition. See the -cpu n270 example below. Oh, you mean if requested_features would contain a

Re: [Qemu-devel] [RFC v5 0/5] hw/arm: add initial support for Canon DIGIC SoC: ping-ping-ping

2013-09-28 Thread Peter Maydell
On 28 September 2013 19:41, Antony Pavlov antonynpav...@gmail.com wrote: On Fri, 20 Sep 2013 13:01:14 +0400 Antony Pavlov antonynpav...@gmail.com wrote: ping-ping-ping Just FYI, I'm on holiday, but this is on the list for when I get back... -- PMM

Re: [Qemu-devel] Virtio Polling Mode

2013-09-28 Thread Anthony Liguori
Hi Yaohui, Yes, there is a flag associated both with the used and the avail rings to disable notifications. This can be used to implement polling. There have been multiple research projects/papers that have experimented with polling. Regards, Anthony Liguori On Fri, Sep 27, 2013 at 1:56 PM,

[Qemu-devel] ELVIS/ELI I/O acceleration code / Re: KVM call agenda for 2013-04-09

2013-09-28 Thread Abel Gordon
Stefan Hajnoczi stefa...@gmail.com wrote on 09/04/2013 06:13:47 PM: From: Stefan Hajnoczi stefa...@gmail.com To: Juan Quintela quint...@redhat.com, Cc: qemu-devel qemu-devel qemu-devel@nongnu.org, KVM devel mailing list k...@vger.kernel.org Date: 09/04/2013 06:13 PM Subject: Re:

Re: [Qemu-devel] Attaching PCI devices to the PCIe root complex

2013-09-28 Thread Michael S. Tsirkin
On Fri, Sep 27, 2013 at 07:06:44PM +0200, Markus Armbruster wrote: Marcel Apfelbaum marcel.apfelb...@gmail.com writes: On Wed, 2013-09-25 at 10:01 +0300, Michael S. Tsirkin wrote: On Tue, Sep 24, 2013 at 06:01:02AM -0400, Laine Stump wrote: When I added support for the Q35-based

Re: [Qemu-devel] [PATCH v2 0/7] smbios cleanup nicer defaults for type 1

2013-09-28 Thread Michael S. Tsirkin
On Fri, Aug 16, 2013 at 03:18:27PM +0200, arm...@redhat.com wrote: From: Markus Armbruster arm...@redhat.com This gets rid of one of the last get_param_value() users, makes multiple -smbios work sanely, cleans up the gross side effect in qemu_uuid_parse(), and more. Topped off with a little

Re: [Qemu-devel] [PATCH v5 1/5] hpet: inverse polarity when pin above ISA_NUM_IRQS

2013-09-28 Thread Michael S. Tsirkin
On Thu, Sep 12, 2013 at 11:25:14AM +0800, Liu Ping Fan wrote: According to hpet spec, hpet irq is high active. But according to ICH spec, there is inversion before the input of ioapic. So the OS will expect low active on this IRQ line. (And this is observed on bare metal). How does one test

Re: [Qemu-devel] [PATCH v5 2/5] hpet: entitle more irq pins for hpet

2013-09-28 Thread Michael S. Tsirkin
On Thu, Sep 12, 2013 at 11:25:15AM +0800, Liu Ping Fan wrote: On PC, IRQ2/8 can be reserved for hpet timer 0/1. And pin 16~23 of ioapic can be dynamically assigned to hpet as guest chooses. (Will enable them after introducing pc 1.6 compat) Signed-off-by: Liu Ping Fan

Re: [Qemu-devel] [PATCH v2 2/7] smbios: Convert to QemuOpts

2013-09-28 Thread Michael S. Tsirkin
On Fri, Aug 16, 2013 at 03:18:29PM +0200, arm...@redhat.com wrote: From: Markus Armbruster arm...@redhat.com So that it can be set in config file for -readconfig. This tightens parsing of -smbios, and makes it more consistent with other options: unknown parameters are rejected, numbers

[Qemu-devel] [PATCH] ahci: set ahci mode on reset

2013-09-28 Thread Michael S. Tsirkin
ATM we set AHCI mode on 1st GHC write. Spec says we should set it on reset. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/ide/ahci.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index a71a4ca..a8be62c 100644 ---

Re: [Qemu-devel] [Xen-devel] Hvmloader: Add _STA for PCI hotplug slots

2013-09-28 Thread Gonglei (Arei)
-Original Message- From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] Sent: Saturday, September 28, 2013 5:43 AM To: Gonglei (Arei); anthony.per...@citrix.com; Stefano Stabellini Cc: xen-de...@lists.xen.org; Hanweidong (Randy); Yanqiangjun; Luonengjun; qemu-devel@nongnu.org;

Re: [Qemu-devel] [PATCH v5 1/5] hpet: inverse polarity when pin above ISA_NUM_IRQS

2013-09-28 Thread liu ping fan
On Sun, Sep 29, 2013 at 3:52 AM, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Sep 12, 2013 at 11:25:14AM +0800, Liu Ping Fan wrote: According to hpet spec, hpet irq is high active. But according to ICH spec, there is inversion before the input of ioapic. So the OS will expect low active

Re: [Qemu-devel] [PATCH v5 2/5] hpet: entitle more irq pins for hpet

2013-09-28 Thread liu ping fan
On Sun, Sep 29, 2013 at 3:56 AM, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Sep 12, 2013 at 11:25:15AM +0800, Liu Ping Fan wrote: On PC, IRQ2/8 can be reserved for hpet timer 0/1. And pin 16~23 of ioapic can be dynamically assigned to hpet as guest chooses. (Will enable them after

Re: [Qemu-devel] [PATCH v5 2/5] hpet: entitle more irq pins for hpet

2013-09-28 Thread Michael S. Tsirkin
On Sun, Sep 29, 2013 at 11:49:41AM +0800, liu ping fan wrote: On Sun, Sep 29, 2013 at 3:56 AM, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Sep 12, 2013 at 11:25:15AM +0800, Liu Ping Fan wrote: On PC, IRQ2/8 can be reserved for hpet timer 0/1. And pin 16~23 of ioapic can be dynamically

[Qemu-devel] [PATCH v2 2/4] Curling: cmdline interface.

2013-09-28 Thread Jules Wang
Add an option '-f' to migration cmdline. Indicating whether to enable fault tolerant or not. Signed-off-by: Jules Wang junqing.w...@cs2c.com.cn --- hmp-commands.hx | 11 +++ hmp.c | 3 ++- include/migration/migration.h | 1 + migration.c

[Qemu-devel] [PATCH v2 3/4] Curling: the sender

2013-09-28 Thread Jules Wang
By leveraging live migration feature, the sender simply starts a new migration when the previous migration is completed. We need to handle the variables related to live migration very carefully. So the new migration does not restart from the very begin of the migration, instead, it continues the

[Qemu-devel] [PATCH v2 1/4] Curling: add doc

2013-09-28 Thread Jules Wang
Curling provides fault tolerant mechanism for KVM. For more info, see 'doc/curling.txt'. Signed-off-by: Jules Wang junqing.w...@cs2c.com.cn --- docs/curling.txt | 51 +++ 1 file changed, 51 insertions(+) create mode 100644 docs/curling.txt diff

[Qemu-devel] [PATCH v2 4/4] Curling: the receiver

2013-09-28 Thread Jules Wang
The receiver does migration loop until the migration connection is lost. Then, it is started as a backup. The receiver does not load vm state once the migration begins. Instead, it perfetches one whole migration data into a buffer, then loads vm state from that buffer afterwards. Signed-off-by:

[Qemu-devel] [PATCH v2 0/4] Curling: KVM Fault Tolerance

2013-09-28 Thread Jules Wang
v1 - v2: * cmdline: migrate curling:tcp:address:port - migrate -f tcp:address:port * sender: use QEMU_VM_FILE_MAGIC_FT as the header of the migration to indicate this is a ft migration. * receiver: look for the signature: QEMU_VM_EOF_MAGIC +

Re: [Qemu-devel] [PATCH v5 1/5] hpet: inverse polarity when pin above ISA_NUM_IRQS

2013-09-28 Thread Michael S. Tsirkin
On Sun, Sep 29, 2013 at 11:25:24AM +0800, liu ping fan wrote: On Sun, Sep 29, 2013 at 3:52 AM, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Sep 12, 2013 at 11:25:14AM +0800, Liu Ping Fan wrote: According to hpet spec, hpet irq is high active. But according to ICH spec, there is