[Qemu-devel] [v2 44/71] hw/tpm/Kconfig: Add Kconfig file

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/tpm/Kconfig | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 hw/tpm/Kconfig diff --git a/hw/tpm/Kconfig b/hw/tpm/Kconfig new file mode 100644 index 000..8c9fb24 --- /dev/null +++ b/hw/tpm/Kconfig @@ -0,0 +1,6 @@ +config TPM_TIS +bool +

[Qemu-devel] [v2 48/71] hw/m68k/Kconfig: m68k kconfig file added

2013-09-26 Thread Ákos Kovács
--- hw/m68k/Kconfig | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 hw/m68k/Kconfig diff --git a/hw/m68k/Kconfig b/hw/m68k/Kconfig new file mode 100644 index 000..6731a1a --- /dev/null +++ b/hw/m68k/Kconfig @@ -0,0 +1,22 @@ +menu "Motorola 68xxx" +config

[Qemu-devel] [v2 71/71] hw/sparc/Kconfig: Kconfig for Sparc added

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/sparc/Kconfig | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 hw/sparc/Kconfig diff --git a/hw/sparc/Kconfig b/hw/sparc/Kconfig new file mode 100644 index 000..52cd04e --- /dev/null +++ b/hw/sparc/Kconfig @@ -0,0 +1,18 @@ +menu

[Qemu-devel] [v2 56/71] hw/openrisc/Makefile.objs: Add CONFIG_ prefix for OPENRISC_SIM

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/openrisc/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/openrisc/Makefile.objs b/hw/openrisc/Makefile.objs index 61246b1..60ac7d2 100644 --- a/hw/openrisc/Makefile.objs +++ b/hw/openrisc/Makefile.objs @@ -1,2 +1,2 @@ obj-y =

[Qemu-devel] [v2 55/71] hw/xtensa/Kconfig: Kconfig for xtensa added

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/xtensa/Kconfig | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 hw/xtensa/Kconfig diff --git a/hw/xtensa/Kconfig b/hw/xtensa/Kconfig new file mode 100644 index 000..0285ff3 --- /dev/null +++ b/hw/xtensa/Kconfig @@ -0,0 +1,10 @@ +config X

[Qemu-devel] [v2 57/71] hw/openrisc/Kconfig: Add Kconfig for OpenRISC

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/openrisc/Kconfig | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 hw/openrisc/Kconfig diff --git a/hw/openrisc/Kconfig b/hw/openrisc/Kconfig new file mode 100644 index 000..36eb9eb --- /dev/null +++ b/hw/openrisc/Kconfig @@ -0,0 +1,7 @@ +menu

[Qemu-devel] [v2 59/71] configure: Generate Kconfig.targets with --target-list

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- configure | 11 +++ 1 file changed, 11 insertions(+) diff --git a/configure b/configure index cd01f05..8b94d2a 100755 --- a/configure +++ b/configure @@ -4288,6 +4288,7 @@ case "$target_name" in ;; sparc64) TARGET_BASE_ARCH=sparc +kconfig_sub

[Qemu-devel] [v2 58/71] hw/sparc64/Kconfig: Kconfig added for Sparc64

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/sparc64/Kconfig | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 hw/sparc64/Kconfig diff --git a/hw/sparc64/Kconfig b/hw/sparc64/Kconfig new file mode 100644 index 000..f711075 --- /dev/null +++ b/hw/sparc64/Kconfig @@ -0,0 +1,14 @@

[Qemu-devel] [v2 65/71] hw/ppc/Kconfig: Add Kconfig for PPC

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/ppc/Kconfig | 98 ++ 1 file changed, 98 insertions(+) create mode 100644 hw/ppc/Kconfig diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig new file mode 100644 index 000..e3c3857 --- /dev/null +++ b/hw/ppc/K

[Qemu-devel] [v2 60/71] Kconfig: Main kconfig file added

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- Kconfig | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 Kconfig diff --git a/Kconfig b/Kconfig new file mode 100644 index 000..e2c9814 --- /dev/null +++ b/Kconfig @@ -0,0 +1,10 @@ +mainmenu "QEMU Configuration" + +# Include the user-select

[Qemu-devel] [v2 66/71] hw/usb/Kconfig: Add the new USB_(O|U)HCI_(PCI|SYSBUS)

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/usb/Kconfig | 16 1 file changed, 16 insertions(+) diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig index 9f4b8dc..85e845e 100644 --- a/hw/usb/Kconfig +++ b/hw/usb/Kconfig @@ -9,10 +9,26 @@ menu "USB devices" depends on PCI default

Re: [Qemu-devel] [PATCH v2 0/4] avoid CONFIG_NO_* using rules.mak logic/string fns

2013-09-26 Thread Peter Maydell
Ping! thanks -- PMM On 14 September 2013 02:25, Peter Maydell wrote: > This is based on a set of patches by Ákos Kovács which were > lurking at the beginning of his KConfig patchset but which > I think make a nice standalone cleanup. Since I basically > rewrote all of patch 1&2 in review comment

[Qemu-devel] [v2 63/71] Makefile.objs: Split CONFIG_USB_EHCI

2013-09-26 Thread Ákos Kovács
Create new configuration variables, CONFIG_USB_EHCI_SYSBUS and CONFIG_USB_EHCI_PCI for hcd-ehci-sysbus.o and hcd-ehci-pci.o. Make them default at default-configs/pci.mak. Signed-off-by: Ákos Kovács --- default-configs/pci.mak | 2 ++ hw/usb/Makefile.objs| 4 +++- 2 files changed, 5 insertio

[Qemu-devel] [v2 68/71] hw/acpi/Kconfig: Create ACPI Kconfig

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/Kconfig | 1 + hw/acpi/Kconfig | 4 hw/i2c/Kconfig | 4 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 hw/acpi/Kconfig diff --git a/hw/Kconfig b/hw/Kconfig index 23e062b..90bba75 100644 --- a/hw/Kconfig +++ b/hw/Kconfig @@ -

[Qemu-devel] [v2 70/71] hw/sh4/Kconfig: Kconfig for SH4 added

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/sh4/Kconfig | 17 + 1 file changed, 17 insertions(+) create mode 100644 hw/sh4/Kconfig diff --git a/hw/sh4/Kconfig b/hw/sh4/Kconfig new file mode 100644 index 000..33c84d9 --- /dev/null +++ b/hw/sh4/Kconfig @@ -0,0 +1,17 @@ +menu "SH4" +

[Qemu-devel] [v2 69/71] hw/microblaze/Kconfig: Kconfig added for microblaze

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/microblaze/Kconfig | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 hw/microblaze/Kconfig diff --git a/hw/microblaze/Kconfig b/hw/microblaze/Kconfig new file mode 100644 index 000..9088dc7 --- /dev/null +++ b/hw/microblaze/Kconf

Re: [Qemu-devel] [v2 02/71] Makefile.target: CONFIG_NO_* variables removed

2013-09-26 Thread Peter Maydell
On 27 September 2013 11:30, Ákos Kovács wrote: > CONFIG_NO_* variables replaced with the lnot logical function. > > Signed-off-by: Ákos Kovács > --- > Makefile.target | 8 ++-- > hw/pci/Makefile.objs | 2 +- > 2 files changed, 3 insertions(+), 7 deletions(-) This is still your broken v

[Qemu-devel] [v2 04/71] scripts/kconfig: kconfig-frontends submodule added

2013-09-26 Thread Ákos Kovács
Add the kconfig-frontends to scripts/, picking version 3.10. Signed-off-by: Ákos Kovács --- .gitmodules | 3 +++ scripts/kconfig | 1 + 2 files changed, 4 insertions(+) create mode 16 scripts/kconfig diff --git a/.gitmodules b/.gitmodules index d7e3f3c..754fc03 100644 --- a/.gitmodules

[Qemu-devel] [v2 15/71] hw/s390x/Makefile.objs: Create CONFIG_S390_VIRTIO and CONFIG_S390_CCW

2013-09-26 Thread Ákos Kovács
Conditionally build s390-virtio-*.o and s390-virtio-ccw.o boards Signed-off-by: Ákos Kovács --- hw/s390x/Makefile.objs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/s390x/Makefile.objs b/hw/s390x/Makefile.objs index 77e1218..a381cc9 100644 --- a/hw/s390x/Makefile.o

[Qemu-devel] [v2 32/71] hw/intc/Kconfig: Add Kconfig file

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/intc/Kconfig | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/hw/intc/Kconfig b/hw/intc/Kconfig index 40d8ebc..4a96318 100644 --- a/hw/intc/Kconfig +++ b/hw/intc/Kconfig @@ -16,17 +16,23 @@ config ARM_GIC config ARM_GIC_KVM b

[Qemu-devel] [v2 35/71] hw/mips/Kconfig: Add Kconfig for MIPS

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/mips/Kconfig | 73 + 1 file changed, 73 insertions(+) create mode 100644 hw/mips/Kconfig diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig new file mode 100644 index 000..d565af7 --- /dev/null +++ b/hw/mi

[Qemu-devel] [v2 23/71] hw/char/Kconfig: Add Kconfig file

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/char/Kconfig | 24 1 file changed, 24 insertions(+) create mode 100644 hw/char/Kconfig diff --git a/hw/char/Kconfig b/hw/char/Kconfig new file mode 100644 index 000..7ec1d6d --- /dev/null +++ b/hw/char/Kconfig @@ -0,0 +1,24 @@ +conf

Re: [Qemu-devel] Compiling QEMU x86_64 for windows 64 bit

2013-09-26 Thread Vikas Desai
Thanks Stefan. Appreciate the quick response. I tried recompiling with --enable-debug but the binaries still die without any error message. I am using mingw64 + MSYS and SDL. I would probably take the easy route and wait for you to publish the new builds :) Cheers,Vikas > Date: Thu, 26 Sep 2013

Re: [Qemu-devel] [PATCH v5 01/14] target-ppc: Add helper for KVM_PPC_RTAS_DEFINE_TOKEN

2013-09-26 Thread David Gibson
On Thu, Sep 26, 2013 at 04:18:35PM +1000, Alexey Kardashevskiy wrote: > From: David Gibson > > Recent PowerKVM allows the kernel to intercept some RTAS calls from the > guest directly. This is used to implement the more efficient in-kernel > XICS for example. qemu is still responsible for assig

Re: [Qemu-devel] [PATCH v5 02/14] xics: move reset and cpu_setup

2013-09-26 Thread David Gibson
On Thu, Sep 26, 2013 at 04:18:36PM +1000, Alexey Kardashevskiy wrote: > This simple change makes following patches nicer. > > Signed-off-by: Alexey Kardashevskiy Trivial. Acked-by: David Gibson -- David Gibson| I'll have my music baroque, and my code david AT gibson.dropb

Re: [Qemu-devel] [PATCH v5 03/14] spapr: move cpu_setup after kvmppc_set_papr

2013-09-26 Thread David Gibson
On Thu, Sep 26, 2013 at 04:18:37PM +1000, Alexey Kardashevskiy wrote: > This moves the xics_cpu_setup() call after kvmppc_set_papr() > in order to get VCPUs initialized as this is required by upcoming > XICS-KVM. > > Signed-off-by: Alexey Kardashevskiy Acked-by: David Gibson -- David Gibson

Re: [Qemu-devel] [PATCH v5 04/14] xics: replace fprintf with error_report

2013-09-26 Thread David Gibson
On Thu, Sep 26, 2013 at 04:18:38PM +1000, Alexey Kardashevskiy wrote: > This replaces old-style fprintf with new style error_report. > > Signed-off-by: Alexey Kardashevskiy > Reviewed-by: Andreas Färber Trivial. Acked-by: David Gibson -- David Gibson| I'll have my music

Re: [Qemu-devel] [Nbd] Hibernate and qemu-nbd

2013-09-26 Thread Stefan Hajnoczi
On Thu, Sep 26, 2013 at 10:48 PM, Mark Trumpold wrote: > >>-Original Message- >>From: Wouter Verhelst [mailto:w...@uter.be] >>Sent: Thursday, September 26, 2013 12:46 PM >>To: 'Mark Trumpold' >>Cc: nbd-gene...@lists.sourceforge.net, 'Stefan Hajnoczi', >>bonz...@stefanha-thinkpad.redhat.com

Re: [Qemu-devel] [PATCH] coroutine: add ./configure --disable-coroutine-pool

2013-09-26 Thread Stefan Weil
Am 11.09.2013 16:42, schrieb Stefan Hajnoczi: > The 'gthread' coroutine backend was written before the freelist (aka > pool) existed in qemu-coroutine.c. > > This means that every thread is expected to exit when its coroutine > terminates. It is not possible to reuse threads from a pool. > > This

[Qemu-devel] [PATCH] coroutine: Disable coroutine pool for w32, w64 (fix regression)

2013-09-26 Thread Stefan Weil
Since commit 402397843e20e35d6cb7c80837c7cfdb19ede591 qemu-system-i386 and qemu-system-x86_64 for w32 / w64 abort with an assertion (qemu-coroutine-lock.c:99) if they are started with an CDROM ISO boot image. Disabling the coroutine pool for MinGW restores the old behaviour and avoids this regress

[Qemu-devel] [PATCH 2/2] ioapic use QOM style

2013-09-26 Thread xiaoqiang zhao
Change intc/ioapic kvm/ioapic to use QOM' realizefn. To achive this, I move variable 'ioapic_no' from static to global. Then, ioapic_realize and kvm_ioapic_realize can drop the 'instance_no' argument. Instead of parent, child increase ioapic_no now. Signed-off-by: xiaoqiang zhao --- hw/i386/kv

[Qemu-devel] [PATCH 1/2] kvm/apic: use QOM style

2013-09-26 Thread xiaoqiang zhao
From: "xiaoqiang.zhao" Change apic and kvm/apic to use QOM interface. Includes: 1. APICCommonState now use QOM realizefn 2. Remove DO_UPCAST() for APICCommonState 3. Use type constant 4. Change DeviceState pointers from 'd' to 'dev', sounds better? Signed-off-by: xiaoqiang zhao --- hw/i386/kv

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

2013-09-26 Thread Gonglei (Arei)
Hi, In Xen platform, after using upstream qemu, the all of pci devices will show hotplug in the windows guest. In this situation, the windows guest may occur blue screen when VM' user click the icon of VGA card for trying unplug VGA card. However, we don't hope VM's user can do such dangerous o

[Qemu-devel] Compiling Instructions for QEMU x86_64 for windows 64 bit

2013-09-26 Thread Vikas Desai
Hi, Where can I find detailed compiling instructions for qemu on native windows x86_64 using mingw64. Cheers,Vikas

<    1   2   3