[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.n

[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 --- blockdev.c |1 - 1 file changed, 1 deletion(-) diff --git a/blockdev.c b/blockdev.c index 8aa66a9..8c83f6f 100644 --- a/blockdev.c +++ b/blockdev.c @@ -19

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 wrote: ping-ping-ping > On Fri, 13 Sep 2013 18:37:27 +0400 > Antony Pavlov wrote: > > ping-ping > > > On Sat, 7 Sep 2013 11:04:22 +0400 > > Antony Pavlov wrote: > > > > ping > > > [RFC v5 1/5] hw/arm: add very initial support for Canon DIGIC

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 conta

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 wrote: > On Fri, 20 Sep 2013 13:01:14 +0400 > Antony Pavlov 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 wrote on 09/04/2013 06:13:47 PM: > From: Stefan Hajnoczi > To: Juan Quintela , > Cc: qemu-devel qemu-devel , KVM devel mailing > list > Date: 09/04/2013 06:13 PM > Subject: Re: [Qemu-devel] KVM call agenda for 2013-04-09 > Sent by: qemu-devel-bounces+abelg=il.ibm@nongnu.o

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 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 machinetypes to libvirt,

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 > > 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 feature in t

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

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 > --- > hw/timer/

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 > > 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 with trailing >

[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 --- 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 --- a/hw/ide/ahci.c +++ b/hw/i

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

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 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 on this IR

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 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 introducing pc

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 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 assign

[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 --- hmp-commands.hx | 11 +++ hmp.c | 3 ++- include/migration/migration.h | 1 + migration.c | 3 ++- qapi-sc

[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 p

[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 --- docs/curling.txt | 51 +++ 1 file changed, 51 insertions(+) create mode 100644 docs/curling.txt diff --git a/docs/curling.txt b

[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: J

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

2013-09-28 Thread Jules Wang
v1 -> v2: * cmdline: migrate curling:tcp:: -> migrate -f tcp:: * 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 + QEMU_VM_FILE_MAGIC_FT(64bit total)

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 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 befo

[Qemu-devel] [PULL 00/14] pc,pci,virtio fixes and cleanups

2013-09-28 Thread Michael S. Tsirkin
The following changes since commit 2d1fe1873a984d1c2c89ffa3d12949cafc718551: Merge remote-tracking branch 'pmaydell/tags/pull-target-arm-20130910' into staging (2013-09-11 14:46:52 -0500) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_an

[Qemu-devel] [PULL 07/14] piix4: disable io on reset

2013-09-28 Thread Michael S. Tsirkin
io base register at 0x40 is cleared on reset, but io is not disabled until some other event happens to call pm_io_space_update. Invoke pm_io_space_update directly to make this consistent. Cc: qemu-sta...@nongnu.org Signed-off-by: Michael S. Tsirkin --- hw/acpi/piix4.c | 1 + 1 file changed, 1 i

[Qemu-devel] [PULL 09/14] virtio-net: fix up HMP NIC info string on reset

2013-09-28 Thread Michael S. Tsirkin
When mac is updated on reset, info string has stale data. Fix it up. Signed-off-by: Michael S. Tsirkin --- hw/net/virtio-net.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index dd41008..22dbd05 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio

[Qemu-devel] [PULL 01/14] q35: make pci window address/size match guest cfg

2013-09-28 Thread Michael S. Tsirkin
For Q35, MMCFG address and size are guest configurable. Update w32 property to make it behave accordingly. Signed-off-by: Michael S. Tsirkin --- hw/pci-host/q35.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c index 5473504..72f6b72 100644 -