Re: [Qemu-devel] [PATCH] Warn if a qcow (not qcow2) file is opened

2009-07-01 Thread Andreas Färber
Am 30.06.2009 um 15:32 schrieb Anthony Liguori: Kevin Wolf wrote: Avi Kivity schrieb: The qcow block driver format is no longer maintained and likely contains serious data corruptors. Urge users to stay away for it, and advertise the new and improved replacement. Signed-off-by: Avi Kiv

Re: [Qemu-devel] [PATCH] Fix fallouts from Linux header inclusion

2011-06-23 Thread Andreas Färber
-Linux hosts - fix kvmclock for !CONFIG_KVM - fix s390 build on non-Linux hosts Signed-off-by: Jan Kiszka Tested-by: Andreas Färber Builds okay on Darwin/ppc64. Andreas --- Let me know if separate patches are preferred for this. Makefile.target |8 ++-- configure

Re: [Qemu-devel] KVM call agenda for Tuesday, July 10th

2012-07-10 Thread Andreas Färber
Hi, Am 09.07.2012 22:37, schrieb Juan Quintela: > > Please send in any agenda items you are interested in covering. Steps towards CPU hotplug: * how to model CPUState as a DeviceState * coordination of APIC-related x86 CPU remodelling Thanks, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5

Re: [Qemu-devel] KVM call minutes July 10th

2012-07-10 Thread Andreas Färber
Hi, Am 10.07.2012 16:55, schrieb Juan Quintela: > > We discussed this - CPU VMState series by Juan Question: Could we assign CPU-specific VMStateDescription to DeviceState::vmsd? > - cpu_index: is that transmited? Yes (Juan). we need to be sure that > cpu_common and cpu use the same index/w

Re: [PATCH v9 01/16] ARM: add mem_type prot_pte accessor

2012-07-20 Thread Andreas Färber
Am 03.07.2012 10:59, schrieb Christoffer Dall: > From: Marc Zyngier > > The KVM hypervisor mmu code requires requires access to the "code requires access" Andreas > mem_type prot_pte field when setting up page tables pointing > to a device. Unfortunately, the mem_type structure is opaque. > >

Re: [Qemu-devel] KVM call minutes July 31th

2012-07-31 Thread Andreas Färber
Am 31.07.2012 17:40, schrieb Eduardo Habkost: > On Tue, Jul 31, 2012 at 04:32:05PM +0200, Juan Quintela wrote: >> - 1.2 plans for CPU model versioning/compatibility (eduardo) >> (global properties vs QOM vs qdev) >> how to do it ? configuration file? moving back to the code? >> different ex

Re: [Qemu-devel] KVM call minutes July 31th

2012-07-31 Thread Andreas Färber
Am 31.07.2012 18:06, schrieb Igor Mammedov: > - Original Message - >> From: "Eduardo Habkost" >> To: "Juan Quintela" , "Anthony Liguori" >> >> Cc: qemu-de...@nongnu.org, "KVM devel mailing list" >> Sent: Tuesday, July 31, 2012 5:40:14 PM >> Subject: Re: [Qemu-devel] KVM call minutes Jul

Re: [Qemu-devel] [PATCH v2] configure: Don't implicitly hardcode list of KVM architectures

2012-08-04 Thread Andreas Färber
Am 03.08.2012 14:51, schrieb Peter Maydell: > The code creating the symlink from linux-headers/asm to the > architecture specific linux-headers/asm-$arch directory was > implicitly hardcoding a list of KVM supporting architectures. > Add a default case for the common "Linux architecture name and >

Re: [Qemu-devel] KVM call agenda for tuesday 31

2012-08-08 Thread Andreas Färber
Am 31.01.2012 15:01, schrieb Mitsyanko Igor: > On 01/31/2012 05:15 PM, Andreas Färber wrote: >> Am 31.01.2012 00:53, schrieb Anthony Liguori: >>> On 01/30/2012 05:41 PM, Andreas Färber wrote: >>>> Am 30.01.2012 19:55, schrieb Juan Quintela: >>>>> Pleas

Re: [Qemu-devel] [PATCH 4/4] kvm: i386: Add classic PCI device assignment

2012-08-27 Thread Andreas Färber
Hi, Am 27.08.2012 08:28, schrieb Jan Kiszka: > From: Jan Kiszka > > This adds PCI device assignment for i386 targets using the classic KVM > interfaces. This version is 100% identical to what is being maintained > in qemu-kvm for several years and is supported by libvirt as well. It is > expecte

Re: [Qemu-devel] KVM call agenda for Tuesda, August 28th

2012-08-28 Thread Andreas Färber
Am 28.08.2012 16:27, schrieb Eduardo Habkost: > On Tue, Aug 28, 2012 at 02:55:56PM +0100, Peter Maydell wrote: >> On 28 August 2012 14:30, Eduardo Habkost wrote: >>> - 1.2 branching, or creation of a "cpu-next" tree where "good to be >>> merged" patches can live until 1.2 is done; >> >> With 1.3

Re: [Qemu-devel] [PATCH 4/4] kvm: i386: Add classic PCI device assignment

2012-08-29 Thread Andreas Färber
Am 28.08.2012 14:57, schrieb Anthony Liguori: > Andreas Färber writes: > >> Hi, >> >> Am 27.08.2012 08:28, schrieb Jan Kiszka: >>> From: Jan Kiszka >>> >>> This adds PCI device assignment for i386 targets using the classic KVM >>>

Re: [PATCH] qemu-kvm: fix improper nmi emulation

2011-10-10 Thread Andreas Färber
Am 10.10.2011 08:49, schrieb Jan Kiszka: On 2011-10-10 08:06, Lai Jiangshan wrote: From: Kenji Kaneshige Currently, NMI interrupt is blindly sent to all the vCPUs when NMI button event happens. This doesn't properly emulate real hardware on which NMI button event triggers LINT1. Because of this

Re: [Qemu-devel] KVM call agenda for October 25

2011-10-24 Thread Andreas Färber
Am 24.10.2011 14:02, schrieb Peter Maydell: > On 24 October 2011 12:35, Paolo Bonzini wrote: >> On 10/24/2011 01:04 PM, Juan Quintela wrote: >>> Please send in any agenda items you are interested in covering. >> >> - What's left to merge for 1.0. > I also think that it's somewhat unfortunate that

Re: [Qemu-devel] KVM call agenda for October 25

2011-10-25 Thread Andreas Färber
Am 25.10.2011 15:18, schrieb Dor Laor: > [...] it would be nice to mark a VM un-migratable [snip] Speaking of which, I'm working on the missing migration support for AHCI but fear I won't quite make it for the Nov 1 deadline. Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, G

Re: [Qemu-devel] [PATCH] KVM: Add wrapper script around QEMU to test kernels

2011-11-05 Thread Andreas Färber
Am 06.11.2011 02:35, schrieb Alexander Graf: > On LinuxCon I had a nice chat with Linus on what he thinks kvm-tool > would be doing and what he expects from it. Basically he wants a > small and simple tool he and other developers can run to try out and > see if the kernel they just built actually w

Re: [Qemu-devel] [PATCH 6/8] kvm: consume internal signal with sigtimedwait

2011-03-06 Thread Andreas Färber
Hello, Am 22.02.2010 um 22:26 schrieb Marcelo Tosatti: Change the way the internal qemu signal, used for communication between iothread and vcpus, is handled. Block and consume it with sigtimedwait on the outer vcpu loop, which allows more precise timing control. Mac OS X v10.5 does not se

Re: [Qemu-devel] [RFC][PATCH 02/16] kvm: Move kvmclock into hw/kvm folder

2011-12-03 Thread Andreas Färber
Am 03.12.2011 12:17, schrieb Jan Kiszka: > From: Jan Kiszka > > More KVM-specific devices will come, so let's start with moving the > kvmclock into a dedicated folder. > > Signed-off-by: Jan Kiszka > --- > diff --git a/Makefile.target b/Makefile.target > index 1e90df7..3a9e95d 100644 > --- a/M

Re: [Qemu-devel] [RFC][PATCH 02/16] kvm: Move kvmclock into hw/kvm folder

2011-12-05 Thread Andreas Färber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 03.12.2011 23:33, schrieb Jan Kiszka: > On 2011-12-03 20:00, Andreas Färber wrote: >> Am 03.12.2011 12:17, schrieb Jan Kiszka: >>> diff --git a/hw/kvmclock.c b/hw/kvm/clock.c similarity index >>> 96% rename from hw/

Re: [PATCH v2 1/2] KVM: VMX: Notify if VMX is already in use

2011-12-07 Thread Andreas Färber
Am 07.12.2011 15:34, schrieb Sasha Levin: > Currently we silently fail if VMX is already in use by a different > virtualization technology. > > This is bad since it's non-obvious for the user, and its not too uncommon > for users to have several of these installed on same host. > > This patch add

Re: [Qemu-devel] KVM call agenda for Tuesday 3

2012-01-02 Thread Andreas Färber
Am 02.01.2012 13:09, schrieb Juan Quintela: > First of all, Happy New Year to everybody (even for the people whose > calendar is different O:-) +1 > Please send in any agenda items you are interested in covering. QOM: If Anthony is available, I'd be interested in hearing an update on the roadmap

Re: [Qemu-devel] KVM call agenda for Tuesday 3

2012-01-03 Thread Andreas Färber
Anthony, Am 03.01.2012 02:04, schrieb Anthony Liguori: > On 01/02/2012 07:46 AM, Andreas Färber wrote: >> Am 02.01.2012 13:09, schrieb Juan Quintela: >>> First of all, Happy New Year to everybody (even for the people whose >>> calendar is different O:-) >> >&

Re: [Qemu-devel] KVM call agenda for Tuesday 3

2012-01-03 Thread Andreas Färber
Am 03.01.2012 14:12, schrieb Stefan Hajnoczi: > On Tue, Jan 3, 2012 at 12:15 PM, Dor Laor wrote: >> There is a legal issue w/ WHQL drivers but self sign is not a probably and I >> believe that's what we have today. > > For a user anything other than first-class native drivers is a red > flag that

Re: [Qemu-devel] [PATCH 0/3] remove the periodic RTC update timer

2012-01-06 Thread Andreas Färber
Next time please thread your patch series together so that they can easily be reviewed and tested. git-send-email usually ensures that. Thanks, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg -- T

Re: [Qemu-devel] [PATCH 1/3]use int64 when compare two time

2012-01-06 Thread Andreas Färber
Am 06.01.2012 08:37, schrieb Zhang, Yang Z: > use int64 when compare two time > > int32 only represent only 136 years when comparing two times based on second. > It would be better to use int64. int32 and int64 are softfloat types and should not be used here. Do you have an actual use case that

Re: Fritz!Card, MSIs and virtual machines

2012-01-08 Thread Andreas Färber
Am 07.01.2012 18:52, schrieb Binarus: > - Is it possible to run a guest with a mixture of I/O virtualization > technologies, i.e. run the most part of the guest by using KVM with VT-d and > VT-x, but "emulate" the PCI device without using these technologies? Yes, graphics card, network card, etc

Re: [Qemu-devel] [PATCH][v7] megasas: LSI Megaraid SAS emulation

2012-01-08 Thread Andreas Färber
Am 08.01.2012 22:56, schrieb Gerhard Wiesinger: > On Tue, 19 Jul 2011, Hannes Reinecke wrote: >> This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA. >> It is based off the 'block' tree from Kevin Wolf, as he pulled >> in the preliminary patches. >> I've tested it to work with Linux,

Re: [Qemu-devel] KVM call agenda for Tuesday 10

2012-01-09 Thread Andreas Färber
Am 09.01.2012 12:29, schrieb Juan Quintela: > Please send in any agenda items you are interested in covering. Coordination of second QOM series: Who fixes what and til when. Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörf

Re: [Qemu-devel] KVM call agenda for Tuesday 10

2012-01-10 Thread Andreas Färber
Am 10.01.2012 00:44, schrieb Andreas Färber: > Am 09.01.2012 12:29, schrieb Juan Quintela: >> Please send in any agenda items you are interested in covering. > > Coordination of second QOM series: Who fixes what and til when. Recapping this part of the call: * Anthony will revi

Re: [Qemu-devel] [PATCH] virtio-pci: Fix endianness of virtio config

2012-01-10 Thread Andreas Färber
Am 10.01.2012 21:30, schrieb Alexander Graf: > Maybe the RTAS callbacks really want you to return stuff in little endian? IIRC all RTAS callbacks need to be in the same bitness and endianness (MSR LE+SB) as when instantiating RTAS from OF. Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 904

Re: [Qemu-devel] [PATCH v6 18/18] kvm: Arm in-kernel irqchip support

2012-01-13 Thread Andreas Färber
Am 13.01.2012 20:04, schrieb Jan Kiszka: > On 2012-01-13 19:49, Peter Maydell wrote: >> On 13 January 2012 17:35, Jan Kiszka wrote: >>> Subject: kvm: Arm in-kernel irqchip support >> >> I have to say I found this Subject rather confusing :-) > > Deeply sorry, but I guess that verb predates the ar

Re: [Qemu-devel] [PATCH v2 3/4] uq/master: Add CPU eject handling for acpi_piix4

2012-01-24 Thread Andreas Färber
Am 24.01.2012 11:28, schrieb Jan Kiszka: > On 2012-01-24 11:10, Vasilis Liaskovitis wrote: >> diff --git a/hw/pc_piix.c b/hw/pc_piix.c >> index ac251c6..6d61567 100644 >> --- a/hw/pc_piix.c >> +++ b/hw/pc_piix.c >> @@ -380,6 +380,14 @@ static QEMUMachine pc_machine_v1_1 = { >> .desc = "Standar

Re: [Qemu-devel] KVM call agenda for tuesday 31

2012-01-30 Thread Andreas Färber
Am 30.01.2012 19:55, schrieb Juan Quintela: > Please send in any agenda items you are interested in covering. QOM roadmap update: * Series 3/4 is on the list. -> Please officially designate a merge date (Friday?). -> To make review sensible, I ask for a hard device freeze until merged. I.e., no

Re: [Qemu-devel] KVM call agenda for tuesday 31

2012-01-31 Thread Andreas Färber
Am 31.01.2012 00:53, schrieb Anthony Liguori: > On 01/30/2012 05:41 PM, Andreas Färber wrote: >> Am 30.01.2012 19:55, schrieb Juan Quintela: >>> Please send in any agenda items you are interested in covering. >> VMState: >> Anthony specifically said that VMState wer

Re: [Qemu-devel] KVM call agenda for tuesday 31

2012-01-31 Thread Andreas Färber
Am 31.01.2012 14:59, schrieb Anthony Liguori: > On 01/30/2012 05:41 PM, Andreas Färber wrote: >> Am 30.01.2012 19:55, schrieb Juan Quintela: >>> Please send in any agenda items you are interested in covering. >> >> QOM roadmap update: >> * Series 3/4 is o

[PATCH for-next 03/74] target-i386: Pass X86CPU to do_cpu_{init,sipi}()

2012-05-06 Thread Andreas Färber
Allows to use cpu_reset() in place of cpu_state_reset(). Signed-off-by: Andreas Färber --- cpu-exec.c |4 ++-- target-i386/cpu.h|4 ++-- target-i386/helper.c | 13 - target-i386/kvm.c|6 -- 4 files changed, 16 insertions(+), 11 deletions(-) diff

Re: [Qemu-devel] KVM call agenda for May, Tuesday 8th

2012-05-08 Thread Andreas Färber
Am 07.05.2012 14:54, schrieb Anthony Liguori: > On 05/07/2012 06:47 AM, Juan Quintela wrote: >> >> Please send in any agenda items you are interested in covering. > > - Status of the 1.1 release Since it looked like the call is not going to take place lacking feedback from Anthony, I will provoca

Re: [Qemu-devel] KVM call agenda for May, Tuesday 8th

2012-05-08 Thread Andreas Färber
Am 08.05.2012 16:24, schrieb Anthony Liguori: > On 05/08/2012 09:10 AM, Andreas Färber wrote: >> Am 07.05.2012 14:54, schrieb Anthony Liguori: >> rc0 is available, but patches submitted for 1.1 shortly before rc0 >> neither got review nor were applied. Neither did pulls or

Re: [Qemu-devel] KVM call agenda for May, Tuesday 8th

2012-05-08 Thread Andreas Färber
Am 08.05.2012 16:53, schrieb Andreas Färber: > Am 08.05.2012 16:24, schrieb Anthony Liguori: >> On 05/08/2012 09:10 AM, Andreas Färber wrote: >>> With rc0 not being provided as tarball, it would be nice to document the >>> official, reproducible way of packaging a

[PATCH next v2 03/74] target-i386: Pass X86CPU to do_cpu_{init,sipi}()

2012-05-09 Thread Andreas Färber
Allows to use cpu_reset() in place of cpu_state_reset(). Signed-off-by: Andreas Färber --- cpu-exec.c |4 ++-- target-i386/cpu.h|4 ++-- target-i386/helper.c | 13 - target-i386/kvm.c|6 -- 4 files changed, 16 insertions(+), 11 deletions(-) diff

[PATCH next v2 03/74] target-i386: Pass X86CPU to do_cpu_{init,sipi}()

2012-05-09 Thread Andreas Färber
Allows to use cpu_reset() in place of cpu_state_reset(). Signed-off-by: Andreas Färber --- cpu-exec.c |4 ++-- target-i386/cpu.h|4 ++-- target-i386/helper.c | 13 - target-i386/kvm.c|6 -- 4 files changed, 16 insertions(+), 11 deletions(-) diff

[PATCH qom-next 09/59] cpus: Pass CPUState to qemu_cpu_is_self()

2012-05-22 Thread Andreas Färber
Change return type to bool, move to include/qemu/cpu.h and add documentation. Signed-off-by: Andreas Färber --- cpus.c | 10 -- exec.c |3 ++- hw/apic.c |2 +- include/qemu/cpu.h | 10 ++ kvm-all.c |4 +++- qemu-common.h

[PATCH qom-next 00/59] QOM CPUState, part 4: CPU_COMMON

2012-05-22 Thread Andreas Färber
d using POWERPC_CPU() / SPARC_CPU() macros inside *_set_irq() functions. Andreas Färber (59): qemu-thread: Let qemu_thread_is_self() return bool cpu: Move CPU_COMMON_THREAD into CPUState cpu: Move thread field into CPUState pc: Add CPU as /machine/cpu[n] apic: Replace cpu_env pointer b

[PATCH qom-next 06/59] pc: Pass X86CPU to cpu_is_bsp()

2012-05-22 Thread Andreas Färber
Also change return type to bool. Signed-off-by: Andreas Färber --- hw/apic.h|2 +- hw/apic_common.c |2 +- hw/pc.c |6 +++--- target-i386/helper.c |2 +- target-i386/kvm.c|4 +++- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a

[PATCH qom-next 15/59] cpus: Pass CPUState to cpu_is_stopped()

2012-05-22 Thread Andreas Färber
CPUArchState is no longer needed there. Also change the return type to bool. Signed-off-by: Andreas Färber --- cpu-all.h |1 - cpus.c |4 +--- include/qemu/cpu.h | 11 +++ target-i386/kvm.c |4 ++-- 4 files changed, 14 insertions(+), 6 deletions

[PATCH qom-next 29/59] target-ppc: Rename kvm_kick_{env => cpu} and pass PowerPCCPU

2012-05-22 Thread Andreas Färber
Needed for qemu_cpu_kick(). Signed-off-by: Andreas Färber --- target-ppc/kvm.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c index c09cc39..f111e87 100644 --- a/target-ppc/kvm.c +++ b/target-ppc/kvm.c @@ -71,8 +71,11

[PATCH qom-next 32/59] s390-virtio: Let s390_cpu_addr2state() return S390CPU

2012-05-22 Thread Andreas Färber
Convert ipi_states to S390CPU**. Needed for s390_cpu_restart() in handle_sigp(). Signed-off-by: Andreas Färber --- hw/s390-virtio-bus.c |6 -- hw/s390-virtio.c |8 target-s390x/cpu.h |2 +- target-s390x/kvm.c |6 -- 4 files changed, 13 insertions(+), 9

[PATCH qom-next 33/59] target-s390x: Pass S390CPU to s390_cpu_restart()

2012-05-22 Thread Andreas Färber
Needed for qemu_cpu_kick(). Signed-off-by: Andreas Färber --- target-s390x/kvm.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index 2153e38..5800fd6 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -292,8

[PATCH qom-next 34/59] cpus: Pass CPUState to qemu_cpu_kick()

2012-05-22 Thread Andreas Färber
Signed-off-by: Andreas Färber --- cpus.c | 13 + exec.c |2 +- hw/ppc.c |4 ++-- hw/ppce500_spin.c |2 +- hw/spapr_rtas.c|5 - hw/sun4m.c |2 +- hw/sun4u.c |2 +- include/qemu/cpu.h |8

[PATCH qom-next 40/59] spapr: Pass PowerPCCPU to spapr_hypercall()

2012-05-22 Thread Andreas Färber
Needed for the hypercall handlers. Signed-off-by: Andreas Färber --- hw/spapr.c |2 +- hw/spapr.h |2 +- hw/spapr_hcall.c |4 +++- target-ppc/kvm.c |3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/hw/spapr.c b/hw/spapr.c index 70068b4..f9c3631

[PATCH qom-next 51/59] target-i386: Pass X86CPU to kvm_handle_halt()

2012-05-22 Thread Andreas Färber
Needed for moving interrupt_request and halted fields to CPUState. Signed-off-by: Andreas Färber --- target-i386/kvm.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 21de2e1..f7651bf 100644 --- a/target-i386/kvm.c +++ b

[PATCH qom-next 50/59] target-i386: Pass X86CPU to kvm_get_mp_state()

2012-05-22 Thread Andreas Färber
Needed for moving halted field to CPUState. Signed-off-by: Andreas Färber --- target-i386/kvm.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index f611a96..21de2e1 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c

[PATCH qom-next 46/59] cpus: Pass CPUState to run_on_cpu()

2012-05-22 Thread Andreas Färber
CPUArchState is no longer needed. Move the declaration to include/qemu/cpu.h and add documentation. Signed-off-by: Andreas Färber --- cpu-all.h|1 - cpus.c |3 +-- hw/kvm/apic.c|2 +- hw/kvmvapic.c|6 -- hw/ppce500_spin.c|2

[PATCH qom-next 45/59] target-i386: Pass X86CPU to cpu_x86_inject_mce()

2012-05-22 Thread Andreas Färber
Needed for run_on_cpu(). Signed-off-by: Andreas Färber --- monitor.c|6 -- target-i386/cpu.h|2 +- target-i386/helper.c |3 ++- target-i386/kvm.c|2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/monitor.c b/monitor.c index 12a6fe2

[PATCH qom-next 44/59] target-i386: Pass X86CPU to kvm_mce_inject()

2012-05-22 Thread Andreas Färber
Needed for cpu_x86_inject_mce(). Signed-off-by: Andreas Färber --- target-i386/kvm.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 92ad338..758bf8f 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -221,8

Re: [Qemu-devel] [PATCH qom-next 00/59] QOM CPUState, part 4: CPU_COMMON

2012-05-23 Thread Andreas Färber
Am 23.05.2012 05:07, schrieb Andreas Färber: > This series, based on qom-next and the two pending ARM cleanup patches, [...] Update: I've applied the aforementioned patches, so this series applies unchanged to qom-next now. > Available for testing and cherry-picking (not pulling!)

Re: [Qemu-devel] [PULL 00/20 1.2] kvm updates

2012-06-04 Thread Andreas Färber
Am 04.06.2012 07:46, schrieb Anthony Liguori: > On 05/22/2012 12:37 AM, Avi Kivity wrote: >> Please pull from: >> >>git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master > > Pulled. Thanks. This broke the ppc build. Guys, why wasn't this tested? There's only three KVM targets to test

[PATCH 26/74] target-i386: Pass X86CPU to do_cpu_{init,sipi}()

2012-06-04 Thread Andreas Färber
Allows to use cpu_reset() in place of cpu_state_reset(). Signed-off-by: Andreas Färber Reviewed-by: Igor Mammedov --- cpu-exec.c |4 ++-- target-i386/cpu.h|4 ++-- target-i386/helper.c | 13 - target-i386/kvm.c|6 -- 4 files changed, 16

Re: [Qemu-devel] [PULL 00/20 1.2] kvm updates

2012-06-04 Thread Andreas Färber
Am 05.06.2012 03:58, schrieb Anthony Liguori: > Is build bot running against uq/master? If it's not, maybe we should > add it to build bot to catch this sort of thing. That's a question for Stefan and Daniel to answer. Regards, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg

[PATCH 27/27] target-s390x: Pass S390CPU to s390_cpu_restart()

2012-06-10 Thread Andreas Färber
Needed for qemu_cpu_kick(). Signed-off-by: Andreas Färber --- target-s390x/kvm.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index 2153e38..5800fd6 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -292,8

[PATCH 26/27] s390-virtio: Let s390_cpu_addr2state() return S390CPU

2012-06-10 Thread Andreas Färber
Convert ipi_states to S390CPU**. Needed for s390_cpu_restart() in handle_sigp(). Signed-off-by: Andreas Färber --- hw/s390-virtio-bus.c |6 -- hw/s390-virtio.c |8 target-s390x/cpu.h |2 +- target-s390x/kvm.c |6 -- 4 files changed, 13 insertions(+), 9

Re: [Qemu-devel] [PATCH] Fixes related to processing of qemu's -numa option

2012-06-18 Thread Andreas Färber
Am 17.06.2012 22:12, schrieb Chegu Vinod: > diff --git a/vl.c b/vl.c > index 204d85b..1906412 100644 > --- a/vl.c > +++ b/vl.c > @@ -28,6 +28,7 @@ > #include > #include > #include > +#include Did you check whether this and the macros you're using are available on POSIX and mingw32? vl.c is

Re: [Qemu-devel] [PATCH] spapr_vscsi: Error handling fixes

2012-06-19 Thread Andreas Färber
Am 19.06.2012 08:02, schrieb Benjamin Herrenschmidt: > We were incorrectly g_free'ing an object that isn't allocated > in one error path and failed to release it completely in another > > This fixes qemu crashes with some cases of IO errors. > > Signed-off-by: Benjamin Herrenschmidt > --- > hw/

Re: [PATCH 1/5] i82378: Remove bogus MMIO coalescing

2012-06-25 Thread Andreas Färber
uted properly ordered >> /wrt the CPU. So we have to remove the coalescing mark. >> >> CC: Andreas Färber >> CC: Hervé Poussineau >> Signed-off-by: Jan Kiszka >> --- >> hw/i82378.c |1 - >> 1 files changed, 0 insertions(+), 1 deletions(-) > >

Re: [Qemu-devel] [PATCH 3/5] memory: Flush coalesced MMIO on mapping and state changes

2012-06-25 Thread Andreas Färber
Am 25.06.2012 09:01, schrieb Jan Kiszka: > Flush pending coalesced MMIO before performing mapping or state changes > that could affect the event orderings or route the buffered requests to > a wrong region. > > Signed-off-by: Jan Kiszka > > In addition, we also have to Stray paste or missing a

Re: [RFC PATCH] Expose tsc deadline timer feature to guest

2012-07-02 Thread Andreas Färber
Am 02.07.2012 13:08, schrieb Liu, Jinsong: > Eduardo, Jan, Andreas > > As we sync 3 months ago, I wait until qemu1.1 done, then re-write patch based > on qemu1.1. > Now it's time to re-write my patch based on qemu1.1. > > Attached is a RFC patch for exposing tsc deadline timer to guest. > I have

Re: [Qemu-devel] [PATCH v2 1/3] KVM: Add new -cpu best

2012-07-02 Thread Andreas Färber
Am 26.06.2012 18:39, schrieb Alexander Graf: > During discussions on whether to make -cpu host the default in SLE, I found s/make -cpu host the default/support/? > myself disagreeing to the thought, because it potentially opens a big can > of worms for potential bugs. But if I already am so oppos

Re: [Qemu-devel] KVM call agenda for Tuesday 7

2012-02-07 Thread Andreas Färber
Am 06.02.2012 20:25, schrieb Juan Quintela: > Please send in any agenda items you are interested in covering. I had some follow-up questions to the last call that remained unanswered. We don't really need a call for that though, email is fine. http://lists.gnu.org/archive/html/qemu-devel/2012-01/

Re: [Qemu-devel] KVM call agenda for Tuesday 7

2012-02-07 Thread Andreas Färber
Am 07.02.2012 16:21, schrieb Paolo Bonzini: > BTW, I would like to change /i440fx to /devices/i440fx, so that we will > have clean namespaces: > > /block > ... > /chardev > ... > /clocks > ... > /devices > /peripheral > ... # named devices created with -devi

Re: [Qemu-devel] KVM call agenda for Tuesday 7

2012-02-07 Thread Andreas Färber
Am 07.02.2012 19:01, schrieb Anthony Liguori: > On 02/07/2012 07:45 AM, Andreas Färber wrote: >> http://lists.gnu.org/archive/html/qemu-devel/2012-01/msg04065.html >> >> How is the realize step (DeviceState::init) supposed to translate to >> Object-derived classes (e.g.,

Re: [Qemu-devel] KVM call agenda for tuesday 31

2012-02-09 Thread Andreas Färber
Am 09.02.2012 23:37, schrieb Anthony Liguori: > On 02/09/2012 04:23 PM, Peter Maydell wrote: >> Ping re the VMState and variable sized arrays issue. I don't >> see any consensus in this discussion for a different approach, >> so should we just commit Mitsyanko's patchset? > > I don't know if I men

Re: [Qemu-devel] [PATCH v2 7/8] optionsrom: Reserve space for checksum

2012-02-11 Thread Andreas Färber
Am 10.02.2012 19:31, schrieb Jan Kiszka: > Always add a byte before the final 512-bytes alignment to reserve the > space for the ROM checksum. > > Signed-off-by: Jan Kiszka > --- > pc-bios/optionrom/optionrom.h |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/pc-b

Re: [Qemu-devel] [PATCH v2 1/8] kvm: Set cpu_single_env only once

2012-02-11 Thread Andreas Färber
Am 11.02.2012 12:25, schrieb Blue Swirl: > I think using cpu_single_env is an indication of a problem, like poor > code, layering violation or poor API (vmport). What is your use case? I couldn't spot any in this series. Jan, note that any new use of env or cpu_single_env will need to be redone wh

Re: [PATCH v2 7/8] optionsrom: Reserve space for checksum

2012-02-11 Thread Andreas Färber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 11.02.2012 13:45, schrieb Jan Kiszka: > On 2012-02-11 12:46, Andreas Färber wrote: >> Am 10.02.2012 19:31, schrieb Jan Kiszka: >>> Always add a byte before the final 512-bytes alignment to >>> reserve the space for the RO

Re: [Qemu-devel] [PATCH v2 1/8] kvm: Set cpu_single_env only once

2012-02-11 Thread Andreas Färber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 11.02.2012 13:43, schrieb Jan Kiszka: > On 2012-02-11 12:49, Andreas Färber wrote: >> Am 11.02.2012 12:25, schrieb Blue Swirl: >>> I think using cpu_single_env is an indication of a problem, >>> like poor code, lay

Re: [Qemu-devel] [PATCH v2 1/8] kvm: Set cpu_single_env only once

2012-02-11 Thread Andreas Färber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 11.02.2012 14:07, schrieb Jan Kiszka: > On 2012-02-11 14:06, Andreas Färber wrote: >> Am 11.02.2012 13:43, schrieb Jan Kiszka: >>> On 2012-02-11 12:49, Andreas Färber wrote: >>>> Am 11.02.2012 12:25, schrieb B

Re: [Qemu-devel] [PATCH v2 1/8] kvm: Set cpu_single_env only once

2012-02-11 Thread Andreas Färber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 11.02.2012 14:35, schrieb Jan Kiszka: > On 2012-02-11 14:21, Andreas Färber wrote: >> CPU base class v3: http://patchwork.ozlabs.org/patch/139284/ (v4 >> coming up) >> >> That doesn't prevent target-specific devi

Re: [Qemu-devel] [PATCH v2 1/8] kvm: Set cpu_single_env only once

2012-02-11 Thread Andreas Färber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 11.02.2012 15:02, schrieb Jan Kiszka: > On 2012-02-11 14:59, Andreas Färber wrote: >> Am 11.02.2012 14:35, schrieb Jan Kiszka: >>> On 2012-02-11 14:21, Andreas Färber wrote: >>>> CPU base class v3: http://patchwork.ozl

Re: [Qemu-devel] [PATCH v2 1/8] kvm: Set cpu_single_env only once

2012-02-11 Thread Andreas Färber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 11.02.2012 15:24, schrieb Jan Kiszka: > On 2012-02-11 15:12, Andreas Färber wrote: >> Am 11.02.2012 15:02, schrieb Jan Kiszka: >>> On 2012-02-11 14:59, Andreas Färber wrote: >>>> Am 11.02.2012 14:35, schrieb Jan Kis

Re: [Qemu-devel] [PULL] kvm updates

2012-03-01 Thread Andreas Färber
Am 01.03.2012 13:47, schrieb Avi Kivity: > Avi Kivity (1): > pc-bios: update kvmvapic.bin > > Gleb Natapov (1): > kvm: Synchronize cpu state in kvm_arch_stop_on_emulation_error() > > Jan Kiszka (10): > kvm: Set cpu_single_env only once > Remove useless casts from cpu itera

Re: [Qemu-devel] KVM call agenda for tuesday 31

2012-03-05 Thread Andreas Färber
Am 05.03.2012 16:10, schrieb Avi Kivity: > On 03/05/2012 04:37 PM, Igor Mitsyanko wrote: >>> Well, can't you make sd.c target dependent? It's not so nice, but it >>> does solve the problem. >>> >> >> OK, but it will turn qemu from it's "long term path to suppress *all* >> target specific code" :)

Re: [Qemu-devel] [PATCH 2/2] Expose tsc deadline timer cpuid to guest

2012-03-09 Thread Andreas Färber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 09.03.2012 21:52, schrieb Jan Kiszka: > Andreas, do you expect CPU devices to be ready for qemu 1.1? We > would need them to pass a feature exclusion mask from > machine.compat_props to the (x86) CPU init code. I was sure hoping to! Marcelo and

Re: [Qemu-devel] KVM call agenda for Tuesday 13

2012-03-12 Thread Andreas Färber
Am 12.03.2012 13:40, schrieb Juan Quintela: > Please send in any agenda items you are interested in covering. * QEMU 1.1 roadmap If we're still aiming for a release in early May that would mean a feature freeze in about four weeks. http://wiki.qemu.org/Planning/1.1 My stake is that I'd like to

Re: [Qemu-devel] KVM call agenda for Tuesday 13

2012-03-13 Thread Andreas Färber
Am 13.03.2012 03:04, schrieb Anthony Liguori: > On 03/12/2012 07:22 PM, Andreas Färber wrote: >> Am 12.03.2012 13:40, schrieb Juan Quintela: >>> Please send in any agenda items you are interested in covering. >> >> * QEMU 1.1 roadmap >> >> If we'

[RFC 07/12] target-ppc: Prepare finalizer for PowerPCCPU

2012-03-14 Thread Andreas Färber
Signed-off-by: Andreas Färber --- target-ppc/cpu.h|1 + target-ppc/helper.c |1 - target-ppc/kvm.c|1 + target-ppc/translate_init.c |6 ++ 4 files changed, 8 insertions(+), 1 deletions(-) diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index

[RFC 06/12] target-ppc: QOM'ify CPU

2012-03-14 Thread Andreas Färber
Signed-off-by: Andreas Färber --- target-ppc/cpu-qom.h| 84 ++ target-ppc/cpu.h| 25 + target-ppc/helper.c | 72 ++-- target-ppc/kvm.c| 29 +++-- target-ppc/kvm_ppc.h|6 - target-ppc/translate.c |2

[PATCH v5 15/43] target-i386: Don't overuse CPUState

2012-03-14 Thread Andreas Färber
Scripted conversion: sed -i "s/CPUState/CPUX86State/g" target-i386/*.[hc] sed -i "s/#define CPUX86State/#define CPUState/" target-i386/cpu.h Signed-off-by: Andreas Färber Acked-by: Anthony Liguori --- target-i386/cpu.h | 34 +- target-i38

[PATCH v5 20/43] target-ppc: Don't overuse CPUState

2012-03-14 Thread Andreas Färber
Scripted conversion: sed -i "s/CPUState/CPUPPCState/g" target-ppc/*.[hc] sed -i "s/#define CPUPPCState/#define CPUState/" target-ppc/cpu.h Signed-off-by: Andreas Färber Acked-by: Anthony Liguori --- target-ppc/cpu.h| 38 ++-- target-ppc/hel

[PATCH v5 21/43] target-s390x: Don't overuse CPUState

2012-03-14 Thread Andreas Färber
Scripted conversion: sed -i "s/CPUState/CPUS390XState/g" target-s390x/*.[hc] sed -i "s/#define CPUS390XState/#define CPUState/" target-s390x/cpu.h Signed-off-by: Andreas Färber Acked-by: Anthony Liguori --- target-s390x/cpu.h | 46 +++-

Re: [PATCH V8 1/1] Guest stop notification

2012-04-06 Thread Andreas Färber
Am 06.04.2012 09:21, schrieb Raghavendra K T: > From: Eric B Munson > > Often when a guest is stopped from the qemu console, it will report spurious > soft lockup warnings on resume. There are kernel patches being discussed that > will give the host the ability to tell the guest that it is being

Re: [Qemu-devel] [PATCH V8 1/1] Guest stop notificationorry for rduplicate mail

2012-04-06 Thread Andreas Färber
Am 06.04.2012 15:01, schrieb Raghavendra K T: > On 04/06/2012 03:19 PM, Raghavendra K T wrote: >> On 04/06/2012 02:29 PM, Andreas Färber wrote: >>> Am 06.04.2012 09:21, schrieb Raghavendra K T: >>>> From: Eric B Munson >>>> >>>> Often when a

Re: [Qemu-devel] [PATCH V9 1/1] Guest stop notification

2012-04-07 Thread Andreas Färber
uest that it is being stopped and > should ignore the soft lockup warning that generates. This patch uses the > qemu > Notifier system to tell the guest it is about to be stopped. > > Signed-off-by: Eric B Munson > Signed-off-by: Raghavendra K T Reviewed-by: Andreas Färber

[PATCH v3 1/4] target-ppc: Add hooks for handling tcg and kvm limitations

2012-04-13 Thread Andreas Färber
pair of functions specifically for the purpose. Signed-off-by: David Gibson [AF: Style and typo fixes, rename new functions and drop ppc_def_t arg] Signed-off-by: Andreas Färber --- target-ppc/helper.c |9 --- target-ppc/kvm.c| 14 +++ target-ppc/kvm_

[PATCH 08/20] target-ppc: Add hooks for handling tcg and kvm limitations

2012-04-15 Thread Andreas Färber
pair of functions specifically for the purpose. Signed-off-by: David Gibson [AF: Style and typo fixes, rename new functions and drop ppc_def_t arg] Signed-off-by: Andreas Färber --- target-ppc/helper.c |9 --- target-ppc/kvm.c| 14 +++ target-ppc/kvm_

Re: [PATCH 08/20] target-ppc: Add hooks for handling tcg and kvm limitations

2012-04-16 Thread Andreas Färber
Am 16.04.2012 12:13, schrieb Avi Kivity: > On 04/15/2012 09:38 PM, Andreas Färber wrote: >> From: David Gibson >> >> On target-ppc, our table of CPU types and features encodes the features as >> found on the hardware, regardless of whether these features are actually

Re: [Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-14 Thread Andreas Färber
Am 12.12.2010 um 00:22 schrieb Benjamin Herrenschmidt: On Sat, 2010-12-11 at 18:06 +0200, Gleb Natapov wrote: http://playground.sun.com/pub/p1275/bindings/pci/pci2_1.pdf has table on page 10 that defines how pci class code should be translated into OF name. This is what my patch is using. pci-a

Re: [Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-17 Thread Andreas Färber
Am 15.12.2010 um 00:02 schrieb Alexander Graf: On 14.12.2010, at 21:31, Benjamin Herrenschmidt wrote: The only working system emulation we have are Macs (G3 beige, G4, G5), so we can't just ignore Apple. Alex even made me stick to their odd 0x41 rtas-version property. ;) Hah :-) Nothing

Re: [Qemu-devel] [PATCH v2] Import Linux headers for KVM and vhost

2011-05-04 Thread Andreas Färber
Am 04.05.2011 um 12:28 schrieb Jan Kiszka: On 2011-05-03 22:22, Peter Maydell wrote: On 3 May 2011 17:48, Jan Kiszka wrote: +++ b/scripts/update-linux-headers.sh +rm -rf $output/include/linux/* Given that updating the kernel headers will blow away large subsets of include/ like this, may

[PATCH qom-cpu for-1.4?] kvm: Pass CPUState to kvm_on_sigbus_vcpu()

2013-01-25 Thread Andreas Färber
Since commit 20d695a9254c1b086a456d3b79a3c311236643ba (kvm: Pass CPUState to kvm_arch_*) CPUArchState is no longer needed. Allows to change qemu_kvm_eat_signals() argument as well. Signed-off-by: Andreas Färber --- Extracted from my qom-cpu-8 queue. cpus.c |8

[RFC 12/19] target-i386: Refactor debug output macros

2013-01-27 Thread Andreas Färber
Make debug output compile-testable even if disabled. Signed-off-by: Andreas Färber Cc: Richard Henderson --- target-i386/helper.c | 33 - target-i386/kvm.c| 16 +++- target-i386/seg_helper.c | 20 +++- 3 Dateien

  1   2   3   4   >