Re: [Qemu-devel] ahci live migration

2012-08-07 Thread Jason Baron
On Tue, Aug 07, 2012 at 06:13:25PM +0200, Andreas Färber wrote: > Hi Jason, > > Am 07.08.2012 18:01, schrieb Jason Baron: > > Hi, > > > > vmstate_ahci has its 'unmigratable' bit set. Gerd suggested that there was > > work > > in this area. Anybod

[Qemu-devel] ahci live migration

2012-08-07 Thread Jason Baron
Hi, vmstate_ahci has its 'unmigratable' bit set. Gerd suggested that there was work in this area. Anybody know the status on it? Thanks, -Jason

[Qemu-devel] [PATCH] pcie: drop version_id field for live migration

2012-08-08 Thread Jason Baron
27;t storing the vmsd version id of the source in the migration stream? This patch also renames the 'name' field of vmstate_pcie_device from: PCIDevice -> PCIEDevice to differentiate it from vmstate_pci_device. Signed-off-by: Jason Baron --- hw/pci.c |2 +- hw/pcie.h |1 -

Re: [Qemu-devel] [RFC v2] ahci: Add support for migration

2012-08-09 Thread Jason Baron
s we change the ports field type to uint32_t > for compatibility with VMState macros. > > Signed-off-by: Andreas Färber > Cc: Alexander Graf > Cc: Jason Baron > Cc: Kevin Wolf > Cc: Juan Quintela > Cc: Igor Mitsyanko > --- > hw/ide/ahci.c | 46 ++

[Qemu-devel] Q35 OS install status

2012-08-15 Thread Jason Baron
Hi, Linux - Fedora 17: installs and ran memory tests (requires ahci cdrom fixes I posted to install) Fedora 16: installs and ran memory tests Windows --- Windows 7: Wouldn't install due to this error: 'A required cd/dvd device driver is missing. If you have a d

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Jason Baron
On Wed, Aug 15, 2012 at 09:22:20AM -0500, anth...@codemonkey.ws wrote: > Hi, > > Today is the hard freeze for 1.2. If you have any pull requests and/or > patches targetted for the hard freeze, please send them by 3pm > US/Central time today and clearly mark them "for-1.2". > > If there are exist

[Qemu-devel] [PATCH] ahci: properly reset PxCMD on HBA reset

2012-08-23 Thread Jason Baron
6 and 17 to verify that they continue to work with this change. Signed-off-by: Jason Baron --- hw/ide/ahci.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index 9fe89a5..06c236f 100644 --- a/hw/ide/ahci.c +++ b/hw/ide/ahci.c @@ -1199

Re: [Qemu-devel] [RFC v2] ahci: Add support for migration

2012-08-24 Thread Jason Baron
On Thu, Aug 09, 2012 at 10:49:23AM -0400, Jason Baron wrote: > On Thu, Aug 09, 2012 at 02:59:54PM +0200, Andreas Färber wrote: > > Define generic VMState for AHCI and reuse it together with PCI for ICH > > and on its own for the SysBus version. > > > > Note: ICH9 in

Re: [Qemu-devel] [PATCH v2 21/21] q35: add acpi-based pci hotplug.

2012-10-11 Thread Jason Baron
On Thu, Oct 11, 2012 at 12:57:06PM +0200, Michael S. Tsirkin wrote: > On Mon, Oct 08, 2012 at 11:30:39PM -0400, Jason Baron wrote: > > From: Jason Baron > > > > Add piix style acpi hotplug to q35. > > > > Signed-off-by: Jason Baron > > Something I d

Re: [Qemu-devel] [PATCH v2 21/21] q35: add acpi-based pci hotplug.

2012-10-11 Thread Jason Baron
On Thu, Oct 11, 2012 at 04:46:56PM +0200, Michael S. Tsirkin wrote: > On Thu, Oct 11, 2012 at 10:21:22AM -0400, Jason Baron wrote: > > On Thu, Oct 11, 2012 at 12:57:06PM +0200, Michael S. Tsirkin wrote: > > > On Mon, Oct 08, 2012 at 11:30:39PM -0400, Jason Baron wrote: > &g

Re: [Qemu-devel] [PATCH v2 21/21] q35: add acpi-based pci hotplug.

2012-10-11 Thread Jason Baron
On Thu, Oct 11, 2012 at 04:54:53PM +0200, Paolo Bonzini wrote: > Il 11/10/2012 16:46, Michael S. Tsirkin ha scritto: > > Yes. Reason I ask is because q35 is adding bridges by default now. > > Would it be possible to only add them if requested on command line by user > > instead? > > Can you just u

Re: [Qemu-devel] [PATCH v2 21/21] q35: add acpi-based pci hotplug.

2012-10-12 Thread Jason Baron
On Thu, Oct 11, 2012 at 10:40:04PM +0200, Michael S. Tsirkin wrote: > > Windows and Linux guests seem fine with either layout. Slots 1-2 are > > specific to my setup. So this is a pretty minimal set. > > I guess we can remove the PCI bridge too? > maybe. Perhaps, we can have a very basic set of

Re: [Qemu-devel] [PATCH v2 21/21] q35: add acpi-based pci hotplug.

2012-10-12 Thread Jason Baron
On Fri, Oct 12, 2012 at 12:06:44PM +0200, Gerd Hoffmann wrote: > Hi, > > >>> I just tried out getting rid of the bridges by default. > >> > >> That clearly raises the question which devices should be created > >> automatically by -M q35. I think the devices which are part of the ich9 > >> chips

Re: [Qemu-devel] [PATCH v2 16/21] q35: smbus: Remove PCI_STATUS_SIG_SYSTEM_ERROR and PCI_STATUS_DETECTED_PARITY from w1cmask

2012-10-19 Thread Jason Baron
On Thu, Oct 11, 2012 at 04:53:24PM +0200, Michael S. Tsirkin wrote: > On Mon, Oct 08, 2012 at 11:30:36PM -0400, Jason Baron wrote: > > From: Jan Kiszka > > > > Both bits are added to the write-1-to-clear mask by default. As the > > smbus device does not allow writes a

[Qemu-devel] [PATCH v3 00/26] q35 qemu support

2012-10-19 Thread Jason Baron
xc05 as 'SMBus' q35: Suppress SMM BIOS initialization under KVM q35: Fix non-PCI IRQ processing in ich9_lpc_update_apic q35: smbus: Remove PCI_STATUS_SIG_SYSTEM_ERROR and PCI_STATUS_DETECTED_PARITY from w1cmask q35: Add kvmclock support Jason Baron (15): blockdev: Introduce

[Qemu-devel] [PATCH v3 08/26] pci_ids: add intel 82801BA pci-to-pci bridge id

2012-10-19 Thread Jason Baron
From: Isaku Yamahata Adds pci id constants which will be used by q35. Reviewed-by: Paolo Bonzini Signed-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/pci_ids.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pci_ids.h b/hw/pci_ids.h index 301bf1c

[Qemu-devel] [PATCH v3 14/26] ich9: Add smbus

2012-10-19 Thread Jason Baron
From: Jason Baron Add support for the ich9 smbus chip. Signed-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/i386/Makefile.objs |2 +- hw/smbus_ich9.c | 159 + 2 files changed, 160 insertions(+), 1 deletions(-) create mode

[Qemu-devel] [PATCH v3 24/26] q35: add acpi-based pci hotplug.

2012-10-19 Thread Jason Baron
From: Jason Baron Add piix style acpi hotplug to q35. Signed-off-by: Jason Baron --- hw/acpi_ich9.c | 172 +++- hw/acpi_ich9.h | 10 +++ 2 files changed, 181 insertions(+), 1 deletions(-) diff --git a/hw/acpi_ich9.c b/hw/acpi_ich9.c

[Qemu-devel] [PATCH v3 13/26] ich9: Add the lpc chip

2012-10-19 Thread Jason Baron
From: Jason Baron Add support for the ich9 LPC chip. Signed-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/i386/Makefile.objs |2 +- hw/lpc_ich9.c | 523 + 2 files changed, 524 insertions(+), 1 deletions(-) create mode

[Qemu-devel] [PATCH v3 15/26] q35: Introduce q35 pc based chipset emulator

2012-10-19 Thread Jason Baron
From: Isaku Yamahata pc q35 based chipset emulator to support pci express natively. Signed-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/i386/Makefile.objs |2 +- hw/pc.h |2 + hw/pc_piix.c |4 +- hw/pc_q35.c | 316

[Qemu-devel] [PATCH v3 22/26] Add a fallback bios file search, if -L fails.

2012-10-19 Thread Jason Baron
From: Jason Baron If -L is specified, and qemu does not find the bios file in , then the search fails. Add infrastructure such that the search will continue in the default paths, if not found in the -L path. Reviewed-by: Paolo Bonzini Signed-off-by: Jason Baron --- vl.c | 36

[Qemu-devel] [PATCH v3 21/26] q35: Add kvmclock support

2012-10-19 Thread Jason Baron
From: Jan Kiszka Reviewed-by: Paolo Bonzini Signed-off-by: Jan Kiszka Signed-off-by: Jason Baron --- hw/pc_q35.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/hw/pc_q35.c b/hw/pc_q35.c index 630739f..82ad4e8 100644 --- a/hw/pc_q35.c +++ b/hw/pc_q35.c @@ -69,6

[Qemu-devel] [PATCH v3 20/26] q35: smbus: Remove PCI_STATUS_SIG_SYSTEM_ERROR and PCI_STATUS_DETECTED_PARITY from w1cmask

2012-10-19 Thread Jason Baron
From: Jan Kiszka Both bits are added to the write-1-to-clear mask by default. As the smbus device does not allow writes at all, we have to remove it from that mask, also to avoid triggering a runtime assertion. Reviewed-by: Paolo Bonzini Signed-off-by: Jan Kiszka Signed-off-by: Jason Baron

[Qemu-devel] [PATCH v3 26/26] ich9: add support pci assignment

2012-10-19 Thread Jason Baron
From: Jason Baron Fills out support for the pci assignment API. Added: PCIINTxRoute ich9_route_intx_pin_to_irq(void *opaque, int pirq_pin) Add calls to pci_bus_fire_intx_routing_notifier() when routing changes are made. Signed-off-by: Jason Baron --- hw/ich9.h |1 + hw/lpc_ich9.c

[Qemu-devel] [PATCH v3 01/26] blockdev: Introduce a default machine blockdev interface field, QEMUMachine->mach_if

2012-10-19 Thread Jason Baron
From: Jason Baron The current QEMUMachine definition has a 'use_scsi' field to indicate if a machine type should use scsi by default. However, Q35 wants to use ahci by default. Thus, introdue a new field in the QEMUMachine defintion, mach_if. This field should be initialized by the ma

[Qemu-devel] [PATCH v3 09/26] pci: Add class 0xc05 as 'SMBus'

2012-10-19 Thread Jason Baron
From: Jan Kiszka [jba...@redhat.com: add PCI_CLASS_SERIAL_SMBUS definition] Reviewed-by: Paolo Bonzini Signed-off-by: Jan Kiszka Signed-off-by: Jason Baron --- hw/pci.c |1 + hw/pci_ids.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/pci.c b/hw/pci.c

[Qemu-devel] [PATCH v3 05/26] pc, pc_piix: split out pc nic initialization

2012-10-19 Thread Jason Baron
From: Isaku Yamahata Factor out pc nic initialization. This simplifies the pc initialization and will reduce the code duplication of q35 pc initialization. Reviewed-by: Paolo Bonzini Signed-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/pc.c | 15 +++ hw/pc.h

[Qemu-devel] [PATCH v3 06/26] pc: Move ioapic_init() from pc_piix.c to pc.c

2012-10-19 Thread Jason Baron
From: Jason Baron Move ioapic_init from pc_piix.c to pc.c, to make it a common function. Rename ioapic_init -> ioapic_init_gsi. Reviewed-by: Paolo Bonzini Signed-off-by: Jason Baron --- hw/pc.c | 24 hw/pc.h |2 ++ hw/pc_piix.c |

[Qemu-devel] [PATCH v3 18/26] q35: Suppress SMM BIOS initialization under KVM

2012-10-19 Thread Jason Baron
From: Jan Kiszka Same as for i44fx: KVM does not support SMM yet. Signal it initialized to Seabios to avoid failures. Reviewed-by: Paolo Bonzini Signed-off-by: Jan Kiszka Signed-off-by: Jason Baron --- hw/acpi_ich9.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff

[Qemu-devel] [PATCH v3 07/26] pc/piix_pci: factor out smram/pam logic

2012-10-19 Thread Jason Baron
From: Isaku Yamahata Factor out smram/pam logic for later use. Which will be used by q35 too. Reviewed-by: Paolo Bonzini [jba...@redhat.com: changes for updated memory API] Signed-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/i386/Makefile.objs |1 + hw/pam.c

[Qemu-devel] [PATCH v3 16/26] ich9: Add i82801b11 dmi-to-pci bridge

2012-10-19 Thread Jason Baron
From: Jason Baron Add the dmi-to-pci i82801b11 bridge chip. This is the pci bridge chip that q35 uses on its host bus for PCI bus arbitration. Signed-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/Makefile.objs |1 + hw/i82801b11.c | 125

[Qemu-devel] [PATCH v3 17/26] Add i21154 bridge chip.

2012-10-19 Thread Jason Baron
From: Jason Baron This adds support for the DECchip 21154 PCI bridge. Signed-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/Makefile.objs |2 +- hw/i21154.c | 113 ++ hw/i21154.h |9 3 files changed, 123

[Qemu-devel] [PATCH v3 23/26] q35: automatically load the q35 dsdt table

2012-10-19 Thread Jason Baron
From: Jason Baron Automatically, locate the required q35 dsdt table on load. Otherwise we error out. This could be done in the bios, but its harder to produce a good error message. Signed-off-by: Jason Baron --- hw/pc.c | 19 +++ hw/pc.h |2 ++ hw/pc_q35.c |7

[Qemu-devel] [PATCH v3 11/26] pcie: Convert PCIExpressHost to use the QOM.

2012-10-19 Thread Jason Baron
From: Jason Baron Let's use PCIExpressHost with QOM. Reviewed-by: Paolo Bonzini Acked-by: Andreas Färber Signed-off-by: Jason Baron --- hw/pcie_host.c | 14 ++ hw/pcie_host.h |4 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/hw/pcie_host.c

[Qemu-devel] [PATCH v3 25/26] q35: fill in usb pci slots with -usb

2012-10-19 Thread Jason Baron
From: Jason Baron This fills out the usb slots on q35, when -usb is passed. We now have (lspci output): 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03

[Qemu-devel] [PATCH v3 04/26] pci: introduce pci_swizzle_map_irq_fn() for standardized interrupt pin swizzle

2012-10-19 Thread Jason Baron
-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/pci.c | 18 ++ hw/pci.h |2 ++ 2 files changed, 20 insertions(+), 0 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index b1b105d..0bcb45e 100644 --- a/hw/pci.c +++ b/hw/pci.c @@ -1121,6 +1121,24 @@ void

[Qemu-devel] [PATCH v3 12/26] ich9: Add acpi support and definitions

2012-10-19 Thread Jason Baron
From: Jason Baron Lay the groundwork for subsequent ich9 support. Signed-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/acpi_ich9.c| 315 + hw/acpi_ich9.h| 47 hw/i386/Makefile.objs |1 + hw/ich9.h

[Qemu-devel] [PATCH v3 03/26] pci: pci capability must be in PCI space

2012-10-19 Thread Jason Baron
From: Isaku Yamahata pci capability must be in PCI space. It can't lay in PCIe extended config space. Reviewed-by: Paolo Bonzini Signed-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/pci.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/pci.c

[Qemu-devel] [PATCH v3 02/26] blockdev: Introduce IF_AHCI

2012-10-19 Thread Jason Baron
From: Jason Baron Introduce IF_AHCI so that q35 can differentiate between ide and ahci disks. This allows q35 to specify its default disk type. It also allows q35 to differentiate between ahci and ide disks, such that -drive if=ide does not result in the creating of an ahci disk. This is

[Qemu-devel] [PATCH v3 10/26] pcie: pass pcie window size to pcie_host_mmcfg_update()

2012-10-19 Thread Jason Baron
From: Jason Baron This allows q35 to pass/set the size of the pcie window in its update routine. Reviewed-by: Paolo Bonzini Signed-off-by: Jason Baron --- hw/pcie_host.c | 21 - hw/pcie_host.h |8 +--- 2 files changed, 17 insertions(+), 12 deletions(-) diff

[Qemu-devel] [PATCH v3 19/26] q35: Fix non-PCI IRQ processing in ich9_lpc_update_apic

2012-10-19 Thread Jason Baron
From: Jan Kiszka Avoid passing a non-PCI IRQ to ich9_gsi_to_pirq. It's wrong and triggers an assertion. Reviewed-by: Paolo Bonzini Signed-off-by: Jan Kiszka Signed-off-by: Jason Baron --- hw/lpc_ich9.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/lpc

Re: [Qemu-devel] [PATCH v3 01/26] blockdev: Introduce a default machine blockdev interface field, QEMUMachine->mach_if

2012-10-22 Thread Jason Baron
On Mon, Oct 22, 2012 at 01:26:29PM +0200, Kevin Wolf wrote: > Am 22.10.2012 12:47, schrieb Michael S. Tsirkin: > > On Fri, Oct 19, 2012 at 04:43:26PM -0400, Jason Baron wrote: > >> From: Jason Baron > >> > >> The current QEMUMachine definition has a 'use_

Re: [Qemu-devel] [PATCH v3 02/26] blockdev: Introduce IF_AHCI

2012-10-22 Thread Jason Baron
On Mon, Oct 22, 2012 at 01:40:21PM +0200, Kevin Wolf wrote: > >> From: Jason Baron > >> > >> Introduce IF_AHCI so that q35 can differentiate between ide and ahci disks. > >> This allows q35 to specify its default disk type. It also allows q35 to > >> d

Re: [Qemu-devel] [PATCH v3 17/26] Add i21154 bridge chip.

2012-10-22 Thread Jason Baron
On Mon, Oct 22, 2012 at 06:17:30PM +0200, Michael S. Tsirkin wrote: > On Mon, Oct 22, 2012 at 03:26:24PM +0200, Andreas Färber wrote: > > Am 19.10.2012 22:43, schrieb Jason Baron: > > > From: Jason Baron > > > > > > This adds support for the DECchip 21154 PC

Re: [Qemu-devel] [PATCH v3 17/26] Add i21154 bridge chip.

2012-10-22 Thread Jason Baron
On Mon, Oct 22, 2012 at 04:03:05PM +0200, Michael S. Tsirkin wrote: > On Fri, Oct 19, 2012 at 04:43:37PM -0400, Jason Baron wrote: > > From: Jason Baron > > > > This adds support for the DECchip 21154 PCI bridge. > > > > Signed-off-by: Isaku Yamahat

Re: [Qemu-devel] [PATCH v3 02/26] blockdev: Introduce IF_AHCI

2012-10-24 Thread Jason Baron
On Wed, Oct 24, 2012 at 05:50:25PM +0200, Markus Armbruster wrote: > Jason Baron writes: > > > On Mon, Oct 22, 2012 at 01:40:21PM +0200, Kevin Wolf wrote: > >> >> From: Jason Baron > >> >> > >> >> Introduce IF_AHCI so that q35 can differ

Re: [Qemu-devel] [PATCH v3 01/26] blockdev: Introduce a default machine blockdev interface field, QEMUMachine->mach_if

2012-10-24 Thread Jason Baron
On Wed, Oct 24, 2012 at 03:12:36PM +0200, Markus Armbruster wrote: > Jason Baron writes: > > > From: Jason Baron > > > > The current QEMUMachine definition has a 'use_scsi' field to indicate if a > > machine type should use scsi by default. However, Q3

Re: [Qemu-devel] q35: usb keyboard trouble

2012-10-26 Thread Jason Baron
On Wed, Oct 24, 2012 at 10:55:28AM -0400, Gabriel L. Somlo wrote: > Jason, > > Commit d8b0dbdba325773469733222a167b54aca74de55 in the q35 tree breaks > '-usbdevice keyboard' for me. Instead of being able to type at the VM, > none of the keypresses make it through, and qemu stderr soon starts > log

[Qemu-devel] [PATCH v1 00/13] q35 patches for pci tree

2012-10-29 Thread Jason Baron
Isaku Yamahata (3): pc/piix_pci: factor out smram/pam logic pc, pc_piix: split out pc nic initialization q35: Introduce q35 pc based chipset emulator Jan Kiszka (2): q35: Suppress SMM BIOS initialization under KVM q35: Add kvmclock support Jason Baron (8): Back out add of i21

[Qemu-devel] [PATCH v1 05/13] pc, pc_piix: split out pc nic initialization

2012-10-29 Thread Jason Baron
From: Isaku Yamahata Factor out pc nic initialization. This simplifies the pc initialization and will reduce the code duplication of q35 pc initialization. Reviewed-by: Paolo Bonzini Signed-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/pc.c | 15 +++ hw/pc.h

[Qemu-devel] [PATCH v1 06/13] pc: Move ioapic_init() from pc_piix.c to pc.c

2012-10-29 Thread Jason Baron
From: Jason Baron Move ioapic_init from pc_piix.c to pc.c, to make it a common function. Rename ioapic_init -> ioapic_init_gsi. Reviewed-by: Paolo Bonzini Signed-off-by: Jason Baron --- hw/pc.c | 24 hw/pc.h |2 ++ hw/pc_piix.c |

[Qemu-devel] [PATCH v1 03/13] blockdev: Introduce QEMUMachine->default_drive_if

2012-10-29 Thread Jason Baron
From: Jason Baron The current QEMUMachine definition has a 'use_scsi' field to indicate if a machine type should use scsi by default. However, Q35 wants to use ahci by default. Thus, introdue a new field in the QEMUMachine defintion, default_drive_if. Please use 'st

[Qemu-devel] [PATCH v1 04/13] blockdev: Introduce IF_AHCI

2012-10-29 Thread Jason Baron
From: Jason Baron Introduce IF_AHCI so that q35 can differentiate between ide and ahci disks. This allows q35 to specify its default disk type. It also allows q35 to differentiate between ahci and ide disks, such that -drive if=ide does not result in the creating of an ahci disk. This is

[Qemu-devel] [PATCH v1 10/13] Add a fallback bios file search, if -L fails.

2012-10-29 Thread Jason Baron
From: Jason Baron If -L is specified, and qemu does not find the bios file in , then the search fails. Add infrastructure such that the search will continue in the default paths, if not found in the -L path. Reviewed-by: Paolo Bonzini Signed-off-by: Jason Baron --- vl.c | 36

[Qemu-devel] [PATCH v1 08/13] q35: Suppress SMM BIOS initialization under KVM

2012-10-29 Thread Jason Baron
From: Jan Kiszka Same as for i44fx: KVM does not support SMM yet. Signal it initialized to Seabios to avoid failures. Reviewed-by: Paolo Bonzini Signed-off-by: Jan Kiszka Signed-off-by: Jason Baron --- hw/acpi_ich9.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff

[Qemu-devel] [PATCH v1 09/13] q35: Add kvmclock support

2012-10-29 Thread Jason Baron
From: Jan Kiszka Reviewed-by: Paolo Bonzini Signed-off-by: Jan Kiszka Signed-off-by: Jason Baron --- hw/pc_q35.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/hw/pc_q35.c b/hw/pc_q35.c index cf0d361..1f31486 100644 --- a/hw/pc_q35.c +++ b/hw/pc_q35.c @@ -52,6

[Qemu-devel] [PATCH v1 11/13] q35: automatically load the q35 dsdt table

2012-10-29 Thread Jason Baron
From: Jason Baron Automatically, locate the required q35 dsdt table on load. Otherwise we error out. This could be done in the bios, but its harder to produce a good error message. Signed-off-by: Jason Baron --- hw/pc.c | 19 +++ hw/pc.h |2 ++ hw/pc_q35.c |7

[Qemu-devel] [PATCH v1 13/13] Fixup q35/ich9 Licenses

2012-10-29 Thread Jason Baron
From: Jason Baron Cleanup the q35/ich9 license headers. Signed-off-by: Jason Baron --- hw/acpi_ich9.c | 13 +++-- hw/lpc_ich9.c | 32 hw/smbus_ich9.c | 14 -- 3 files changed, 23 insertions(+), 36 deletions(-) diff --git a/hw

[Qemu-devel] [PATCH v1 07/13] q35: Introduce q35 pc based chipset emulator

2012-10-29 Thread Jason Baron
will begin to version the machine names. Major features which still need to be added: -Migration support (mostly around ahci) -ACPI hotplug support (pcie hotplug support is working) -Passthrough support Signed-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/i386/Makefil

[Qemu-devel] [PATCH v1 02/13] Back out add of i21154

2012-10-29 Thread Jason Baron
From: Jason Baron As pointed out by Andreas Färber this is covered by dec_pci.c. Signed-off-by: Jason Baron --- hw/Makefile.objs |2 +- hw/i21154.c | 113 -- hw/i21154.h |9 3 files changed, 1 insertions(+), 123

[Qemu-devel] [PATCH v1 01/13] pc/piix_pci: factor out smram/pam logic

2012-10-29 Thread Jason Baron
From: Isaku Yamahata Factor out smram/pam logic for later use. Which will be used by q35 too. [jba...@redhat.com: changes for updated memory API] Signed-off-by: Isaku Yamahata Signed-off-by: Jason Baron --- hw/i386/Makefile.objs |1 + hw/pam.c | 87

[Qemu-devel] [PATCH v1 12/13] q35: fill in usb pci slots with -usb

2012-10-29 Thread Jason Baron
From: Jason Baron This fills out the usb slots on q35, when -usb is passed. We now have (lspci output): 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03

Re: [Qemu-devel] On block interface types in general, IF_AHCI in particular

2012-10-30 Thread Jason Baron
On Tue, Oct 30, 2012 at 03:43:20PM +0100, Markus Armbruster wrote: > The primary purpose of this memo is a brain dump on how block interface > types are used, and what that means for AHCI. A secondary purpose is to > disabuse Alex of the notion that -drive is simple ;) > > > BlockInterfaceType r

Re: [Qemu-devel] [PATCH v1 12/13] q35: fill in usb pci slots with -usb

2012-10-30 Thread Jason Baron
On Tue, Oct 30, 2012 at 07:34:26AM +0100, Gerd Hoffmann wrote: > Hi, > > > +uhci_devname[sizeof(uhci_devname) - 2] = ((char)'1') + i; > > snprintf(devname, sizeof(devname), "...%d", i) is more readable. ok. > > > +qdev_prop_set_string(usb_qdev, "masterbus", "ich9-usb-

Re: [Qemu-devel] [PATCH v1 12/13] q35: fill in usb pci slots with -usb

2012-10-30 Thread Jason Baron
On Tue, Oct 30, 2012 at 05:19:01PM +0100, Gerd Hoffmann wrote: > On 10/30/12 16:19, Jason Baron wrote: > > On Tue, Oct 30, 2012 at 07:34:26AM +0100, Gerd Hoffmann wrote: > >> Hi, > >> > >>> +uhci_devname[sizeof(uhci_devname) - 2] = ((char)'

Re: [Qemu-devel] q35 chipset support

2012-06-18 Thread Jason Baron
On Mon, Jun 18, 2012 at 05:35:02PM +0300, Michael S. Tsirkin wrote: > On Mon, Jun 18, 2012 at 09:16:24AM -0500, Anthony Liguori wrote: > > On 06/17/2012 03:25 AM, Michael S. Tsirkin wrote: > > >On Fri, Jun 15, 2012 at 12:58:33PM -0500, Anthony Liguori wrote: > > >>The Q35 is much more sophisticated

Re: [Qemu-devel] q35 chipset support

2012-06-18 Thread Jason Baron
On Mon, Jun 18, 2012 at 09:05:17AM -0500, Anthony Liguori wrote: > On 06/18/2012 08:51 AM, Markus Armbruster wrote: > >Anthony Liguori writes: > > > >>On 06/15/2012 02:04 AM, Markus Armbruster wrote: > >>>Anthony Liguori writes: > >>> > >&

[Qemu-devel] [PATCH 0/3] iommu: isa dma engine support

2012-06-20 Thread Jason Baron
on. Since the iommu context is tied to the isa device structure, it can be set independently of the bus on which the isa device resides. Thus, I'm hoping that this patchset allows us to correctly model more complex chipset topologies. Thanks, -Jason Jason Baron (3): iommu: remove extra

[Qemu-devel] [PATCH 1/3] iommu: remove extra 'typedef struct DMAContext'

2012-06-20 Thread Jason Baron
There are several instances of 'typedef struct DMAContext DMAContext'. Remove them all except for the one in qemu-common.h. Signed-off-by: Jason Baron --- dma.h |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dma.h b/dma.h index 0d57e50..862373d 100644 -

[Qemu-devel] [PATCH 2/3] iommu: add support for the isa dma engine

2012-06-20 Thread Jason Baron
with the existing dma engine by changing the prototype of DMA_register channel: -void DMA_register_channel (int nchan, +void DMA_register_channel (ISADevice *dev, int nchan, DMA_transfer_handler transfer_handler, void *opaque) Signed-off-by:

[Qemu-devel] [PATCH 3/3] iommu: add generic mapping support for the isa bus

2012-06-20 Thread Jason Baron
Introduce 'isa_setup_iommu()' to allow chipsets to associate an iommu mapping function with the isa bus. This allows isa devices which sit behind an iommu to be correctly configured. This is based on Benjamin Herrenschmidt's iommu series. It has no consumers for now. Signed-off-

[Qemu-devel] q35 and ahci

2012-07-03 Thread Jason Baron
Hi, Update on q35 testing with various os's. Linux - -RHEL6.3 installs + runs -Fedora 16 install + runs -Fedora 17 - squashfs errors running on already installed f17 seems ok. Windows --- -W7 - install error: "A required cd/dvd device driver is missing. If you have a driver floppy

Re: [Qemu-devel] q35 and ahci

2012-07-03 Thread Jason Baron
On Tue, Jul 03, 2012 at 08:25:52PM +0200, Alexander Graf wrote: > On 03.07.2012, at 18:16, Jason Baron wrote: > > > Hi, > > > > Update on q35 testing with various os's. > > > > Linux > > - > > -RHEL6.3 installs + runs > >

Re: [Qemu-devel] q35 and ahci

2012-07-03 Thread Jason Baron
On Tue, Jul 03, 2012 at 08:41:29PM +0200, Alexander Graf wrote: > On 03.07.2012, at 20:38, Jason Baron wrote: > > > On Tue, Jul 03, 2012 at 08:25:52PM +0200, Alexander Graf wrote: > >> On 03.07.2012, at 18:16, Jason Baron wrote: > >> > >>> Hi, > >&

Re: [Qemu-devel] q35 and ahci

2012-07-03 Thread Jason Baron
On Tue, Jul 03, 2012 at 08:52:50PM +0200, Alexander Graf wrote: > On 03.07.2012, at 20:46, Jason Baron wrote: > > > On Tue, Jul 03, 2012 at 08:41:29PM +0200, Alexander Graf wrote: > >> On 03.07.2012, at 20:38, Jason Baron wrote: > >> > >>> On Tue, Jul 03

Re: [Qemu-devel] q35 and ahci

2012-07-03 Thread Jason Baron
On Tue, Jul 03, 2012 at 10:54:37PM +0200, Alexander Graf wrote: > On 03.07.2012, at 22:37, Jason Baron wrote: > > > On Tue, Jul 03, 2012 at 08:52:50PM +0200, Alexander Graf wrote: > >> On 03.07.2012, at 20:46, Jason Baron wrote: > >> > >>> On Tue, Jul 03

Re: [Qemu-devel] q35 and ahci

2012-07-05 Thread Jason Baron
On Wed, Jul 04, 2012 at 10:33:18AM +0200, Alexander Graf wrote: > On 04.07.2012, at 03:29, Jason Baron wrote: > > > On Tue, Jul 03, 2012 at 10:54:37PM +0200, Alexander Graf wrote: > >> On 03.07.2012, at 22:37, Jason Baron wrote: > >> > >>> On Tue, Jul 03

Re: [Qemu-devel] [PATCH] memory: add -dont-dump-guest option to reduce core dump size

2012-07-06 Thread Jason Baron
On Thu, Jul 05, 2012 at 09:04:18PM -0300, Marcelo Tosatti wrote: > On Mon, May 21, 2012 at 01:53:36PM -0400, Jason Baron wrote: > > On Fri, May 04, 2012 at 05:23:51PM -0400, Jason Baron wrote: > > > Add a command line parameter to not dump guest memory in the core dump, >

Re: [Qemu-devel] [PULL for-1.3 0/3] seabios: q35 update

2012-12-04 Thread Jason Baron
On Tue, Dec 04, 2012 at 08:40:27AM +0100, Gerd Hoffmann wrote: > Hi, > > > 1) legacy ide mode > > > > I can currently create a ide controller on the command-line using > > '-device'. However, on the real h/w there is an IDE compatibility mode > > which essentially advertises an ide controller a

Re: [Qemu-devel] qemu 1.3: windows 2003 SP2 x64 boot crash with hpet enabled (was ok with qemu-kvm 1.2)

2012-12-11 Thread Jason Baron
On Tue, Dec 11, 2012 at 08:02:12AM +0100, Alexandre DERUMIER wrote: > seem to be related to seabios update: > > seabios: q35 update > http://lists.gnu.org/archive/html/qemu-devel/2012-12/msg00113.html > This is most likely due to SeaBIOS commit: commit d9f5cdbdf55d61aef9a1a534d9123ef734427478

[Qemu-devel] [PATCH 2/3] qtest: extend qtest_qmp() to fill in the reply

2012-12-13 Thread Jason Baron
From: Jason Baron Introduce: Add void qtest_qmp_resp(QTestState *s, QString *resp, const char *fmt, ...) which allows a response string to be filled in. Signed-off-by: Jason Baron --- tests/Makefile |6 +++--- tests/libqtest.c | 17 ++--- tests/libqtest.h |4 +++- 3

[Qemu-devel] [PATCH 1/3] qtest: Enable creation of multiple qemu instances

2012-12-13 Thread Jason Baron
From: Jason Baron Currently, the qtest harness can only spawn 1 qemu instance at a time because the parent pid is used to create the socket files. Use the child pid instead, so we can remove that limitation. Signed-off-by: Jason Baron --- tests/libqtest.c | 31

[Qemu-devel] [PATCH 0/3] qtest: add migration testing

2012-12-13 Thread Jason Baron
ere, once those ahci migration patches are accepted. Thanks, -Jason Jason Baron (3): qtest: Enable creation of multiple qemu instances qtest: extend qtest_qmp() to fill in the reply qtest: add migrate-test tests/Makefile |8 ++- tests/libqtest.c | 48 ++ tests/l

[Qemu-devel] [PATCH 3/3] qtest: add migrate-test

2012-12-13 Thread Jason Baron
From: Jason Baron Tests a single 'pc' machine migration on the same host. Currently, the test fail for q35 since the ahci controller doesn't yet migrate. Will add support for q35 once the ahci support is accepted. Would be nice to extend the test matrix to various machine ver

Re: [Qemu-devel] [PATCH 2/3] qtest: extend qtest_qmp() to fill in the reply

2012-12-14 Thread Jason Baron
On Fri, Dec 14, 2012 at 01:07:24AM +0100, Andreas Färber wrote: > Am 13.12.2012 23:02, schrieb Jason Baron: > > diff --git a/tests/Makefile b/tests/Makefile > > index b60f0fb..30a101d 100644 > > --- a/tests/Makefile > > +++ b/tests/Makefile > > @@ -74,10 +74,

Re: [Qemu-devel] [PATCH 3/3] qtest: add migrate-test

2012-12-14 Thread Jason Baron
gt; > versions with the > > same binary doesn't seem too useful. > > > > Signed-off-by: Jason Baron > > --- > > tests/Makefile |2 + > > tests/migrate-test.c | 140 > > ++ > >

Re: [Qemu-devel] [PATCH 1/3] qtest: Enable creation of multiple qemu instances

2012-12-17 Thread Jason Baron
On Sat, Dec 15, 2012 at 09:20:13AM +, Blue Swirl wrote: > On Sat, Dec 15, 2012 at 9:14 AM, Paolo Bonzini wrote: > >> > +#define QTEST_FILE_TEMP "/tmp/qtest-%d.sock" > >> > +#define QTEST_QMP_FILE_TEMP "/tmp/qtest-%d.qmp" > >> > +#define QTEST_PID_FILE_TEMP "/tmp/qtest-%d.pid" > >> > >> These f

Re: [Qemu-devel] Q35, Mac OS X, and the War On Entropy

2012-12-19 Thread Jason Baron
On Wed, Dec 19, 2012 at 02:32:42PM -0500, Gabriel L. Somlo wrote: > Hi, > > I'm working on getting OS X to run on KVM, and the latest > q35-qemu tree from GitHub, plus additionally applied commit > 40862309a9d733cb0e878c79f477de003897b5d2 from mainline works > great, with the following command lin

[Qemu-devel] [PATCH v2 1/3] qtest: Enable creation of multiple qemu instances

2012-12-20 Thread Jason Baron
From: Jason Baron Currently, the qtest harness can only spawn 1 qemu instance at a time because the parent pid is used to create the socket files. Use 'mkdtemp()' in combination with the parent pid to avoid conflicts. Signed-off-by: Jason Baron --- tests/libqtest.c | 15

[Qemu-devel] [PATCH v2 0/3] qtest: add migration testing

2012-12-20 Thread Jason Baron
ere, once those ahci migration patches are accepted. Thanks, -Jason v2: * move core migration functions to libqtest.c * simplify Makefile dependencies * use 'mkdtemp()' instead of child pid to identify qemu instances Jason Baron (3): qtest: Enable creation of multiple qemu instances

[Qemu-devel] [PATCH v2 3/3] qtest: add migrate-test

2012-12-20 Thread Jason Baron
From: Jason Baron Tests a single 'pc' machine migration on the same host. Would be nice to extend the test matrix to various machine versions, but that requires building multiple qemu binaries, which is a bit awkward in the context of qtest. Testing migration between different machin

[Qemu-devel] [PATCH v2 2/3] qtest: extend qtest_qmp() to fill in the reply

2012-12-20 Thread Jason Baron
From: Jason Baron Introduce: Add void qtest_qmp_resp(QTestState *s, QString *resp, const char *fmt, ...) which allows a response string to be filled in. Signed-off-by: Jason Baron --- tests/Makefile |2 +- tests/libqtest.c | 17 ++--- tests/libqtest.h | 15

Re: [Qemu-devel] [PATCH v2 1/3] qtest: Enable creation of multiple qemu instances

2012-12-20 Thread Jason Baron
On Thu, Dec 20, 2012 at 08:07:02PM +, Blue Swirl wrote: > On Thu, Dec 20, 2012 at 5:14 PM, Jason Baron wrote: > > From: Jason Baron > > > > Currently, the qtest harness can only spawn 1 qemu instance at a time > > because > > the parent pid is used to crea

Re: [Qemu-devel] [PATCH 04/25] ahci: add ide device initialization helper

2012-09-21 Thread Jason Baron
On Fri, Sep 21, 2012 at 04:05:14PM +0200, Markus Armbruster wrote: > Jason Baron writes: > > > From: Isaku Yamahata > > > > Introduce a helper function which initializes the ahci port with ide > > devices. > > It will be used by q35 support. > > > &

Re: [Qemu-devel] [PATCH 04/25] ahci: add ide device initialization helper

2012-09-24 Thread Jason Baron
On Mon, Sep 24, 2012 at 06:52:29PM +0200, Markus Armbruster wrote: > Jason Baron writes: > > > On Fri, Sep 21, 2012 at 04:05:14PM +0200, Markus Armbruster wrote: > >> Jason Baron writes: > >> > >> > From: Isaku Yamahata > >> > > >>

Re: [Qemu-devel] [PATCH 04/25] ahci: add ide device initialization helper

2012-09-27 Thread Jason Baron
On Wed, Sep 26, 2012 at 10:15:39AM +0200, Markus Armbruster wrote: > Jason Baron writes: > > > On Mon, Sep 24, 2012 at 06:52:29PM +0200, Markus Armbruster wrote: > >> Jason Baron writes: > >> > >> > On Fri, Sep 21, 2012 at 04:05:14PM +0200, Markus Arm

[Qemu-devel] [PATCH v2 17/21] q35: Add kvmclock support

2012-10-08 Thread Jason Baron
From: Jan Kiszka Signed-off-by: Jan Kiszka Signed-off-by: Jason Baron --- hw/pc_q35.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/hw/pc_q35.c b/hw/pc_q35.c index b6a619a..48083bb 100644 --- a/hw/pc_q35.c +++ b/hw/pc_q35.c @@ -69,6 +69,7 @@ #include

[Qemu-devel] [PATCH v2 14/21] q35: Suppress SMM BIOS initialization under KVM

2012-10-08 Thread Jason Baron
From: Jan Kiszka Same as for i44fx: KVM does not support SMM yet. Signal it initialized to Seabios to avoid failures. Signed-off-by: Jan Kiszka Signed-off-by: Jason Baron --- hw/acpi_ich9.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/hw/acpi_ich9.c b/hw

[Qemu-devel] [PATCH v2 01/21] blockdev: Introduce a default machine blockdev interface field, QEMUMachine->mach_if

2012-10-08 Thread Jason Baron
From: Jason Baron The current QEMUMachine definition has a 'use_scsi' field to indicate if a machine type should use scsi by default. However, Q35 wants to use ahci by default. Thus, introdue a new field in the QEMUMachine defintion, mach_if. This field should be initialized by the ma

[Qemu-devel] [PATCH v2 19/21] Add a fallback bios file search, if -L fails.

2012-10-08 Thread Jason Baron
From: Jason Baron If -L is specified, and qemu does not find the bios file in , then the search fails. Add infrastructure such that the search will continue in the default paths, if not found in the -L path. Signed-off-by: Jason Baron --- vl.c | 36 +--- 1

  1   2   3   >