[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

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

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

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

[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

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

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

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

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

[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 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 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 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 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 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 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 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 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 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 50/71] hw/watchdog/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 52/71] hw/moxie/Kconfig: Add Kconfig for moxie

2013-09-26 Thread Ákos Kovács
--- hw/moxie/Kconfig | 4 1 file changed, 4 insertions(+) create mode 100644 hw/moxie/Kconfig diff --git a/hw/moxie/Kconfig b/hw/moxie/Kconfig new file mode 100644 index 000..a7f1703 --- /dev/null +++ b/hw/moxie/Kconfig @@ -0,0 +1,4 @@ +config MOXIESIM +select MC146818RTC +selec

[Qemu-devel] [v2 45/71] hw/alpha/Kconfig: Add Kconfig for Alpha

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

[Qemu-devel] [v2 54/71] hw/moxie/Kconfig: Make the board default and bool

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/moxie/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/moxie/Kconfig b/hw/moxie/Kconfig index a7f1703..d34c3c3 100644 --- a/hw/moxie/Kconfig +++ b/hw/moxie/Kconfig @@ -1,4 +1,6 @@ config MOXIESIM +bool select MC146818RTC select SERI

[Qemu-devel] [v2 43/71] hw/timer/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 42/71] hw/ssi/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 40/71] hw/scsi/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 53/71] hw/unicore32/Kconfig: Add Unicore32 Kconfig

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

[Qemu-devel] [v2 51/71] hw/Kconfig: Add the main Kconfig for hw/

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

[Qemu-devel] [v2 38/71] hw/pci-bridge/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 37/71] hw/pci/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 34/71] hw/misc/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 28/71] hw/gpio/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 49/71] hw/usb/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 47/71] hw/lm32/Kconfig: Added kconfig for lm32

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

[Qemu-devel] [v2 33/71] hw/isa/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 67/71] hw/i386/Kconfig: Add i386 Kconfig

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

[Qemu-devel] [v2 26/71] hw/display/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 46/71] hw/cris/Kconfig: Added Cris kconfig file

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

[Qemu-devel] [v2 24/71] hw/core/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 31/71] hw/input/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 62/71] hw/usb/Makefile.objs: Make config options for USB_OHCI_*

2013-09-26 Thread Ákos Kovács
Create CONFIG_USB_OHCI_PCI and CONFIG_USB_OHCI_SYSBUS configuration options for the new hcd-ohci-pci.c and hcd-ohci-sysbus.c files. Add CONFIG_USB_OHCI_PCI to default-configs/{arm,sh4}-softmmu.mak. Signed-off-by: Ákos Kovács --- default-configs/arm-softmmu.mak | 1 + default-configs/sh4-softmmu

[Qemu-devel] [v2 41/71] hw/sd/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 61/71] hw/usb/hcd-ohci.c: Move sysbus and PCI code to new files

2013-09-26 Thread Ákos Kovács
Move the existing sysbus and PCI logic to hcd-ohci-sysbus.c and hcd-ohci-pci.c from hcd-ohci.c. Create a new hcd-ohci.h header for the shared declarations and macros. Signed-off-by: Ákos Kovács --- hw/usb/hcd-ohci-pci.c| 96 +++ hw/usb/hcd-ohci-sysbus.c | 84 + hw/u

[Qemu-devel] [v2 30/71] hw/ide/Kconfig: Add Kconfig file

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/ide/Kconfig | 50 +++ hw/net/Kconfig | 74 ++ 2 files changed, 124 insertions(+) create mode 100644 hw/ide/Kconfig create mode 100644 hw/net/Kconfig diff --git a/hw/ide

[Qemu-devel] [v2 19/71] hw/9pfs/Kconfig: Add 9pfs Kconfig

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

[Qemu-devel] [v2 39/71] hw/pci-host/Kconfig: Add Kconfig file

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/pci-host/Kconfig | 36 1 file changed, 36 insertions(+) create mode 100644 hw/pci-host/Kconfig diff --git a/hw/pci-host/Kconfig b/hw/pci-host/Kconfig new file mode 100644 index 000..12014f5 --- /dev/null +++ b/hw/pci-hos

[Qemu-devel] [v2 17/71] hw/xtensa/Makefile.objs: Build xtensa_sim and xtensa_lx60 conditionally

2013-09-26 Thread Ákos Kovács
Add the new CONFIG_* values to default-config/xtensa*-softmmu.mak. Signed-off-by: Ákos Kovács --- default-configs/xtensa-softmmu.mak | 3 +++ default-configs/xtensaeb-softmmu.mak | 3 +++ hw/xtensa/Makefile.objs | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --gi

[Qemu-devel] [v2 27/71] hw/dma/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 36/71] hw/nvram/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 29/71] hw/i2c/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 25/71] hw/cpu/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 11/71] hw/ppc/Makefile.objs: Build all boards conditinally

2013-09-26 Thread Ákos Kovács
CONFIG_PPC405, CONFIG_PPC440, CONFIG_PPC4XX, CONFIG_PREP, CONFIG_MAC_OLDWORLD, CONFIG_MAC_NEWWORLD, CONFIG_VIRTEX configuration options created for default-configs/ppc*-softmmu.mak. Signed-off-by: Ákos Kovács --- default-configs/ppc-softmmu.mak| 8 default-configs/ppc64-softmmu.mak

[Qemu-devel] [v2 08/71] hw/m68k/Makefile.objs: Conditionally build boards

2013-09-26 Thread Ákos Kovács
CONFIG_AN5206, CONFIG_DUMMY_M68K, CONFIG_MCF5206, CONFIG_MCF5208 make variables created for m68k boards, and added to default-configs/m86k-softmmu.mak. Signed-off-by: Ákos Kovács --- default-configs/m68k-softmmu.mak | 3 +++ hw/m68k/Makefile.objs| 7 --- 2 files changed, 7 insert

[Qemu-devel] [v2 21/71] hw/audio/Kconfig: Add audio Kconfig

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

[Qemu-devel] [v2 22/71] hw/block/Kconfig: Add Kconfig file

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

[Qemu-devel] [v2 16/71] hw/s390x/Kconfig: Add s390x Kconfig

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

[Qemu-devel] [v2 18/71] hw/intc/Makefile.objs: Make CONFIG_ARMV7_NVIC

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/intc/Kconfig | 32 hw/intc/Makefile.objs | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 hw/intc/Kconfig diff --git a/hw/intc/Kconfig b/hw/intc/Kconfig new file mode 100644 index 000..40d8e

[Qemu-devel] [v2 03/71] default-configs/: CONFIG_GDBSTUB_XML removed

2013-09-26 Thread Ákos Kovács
Makefile.target: Build gdbstub-xml.o only when TARGET_XML_FILES is not empty. Signed-off-by: Ákos Kovács --- Makefile.target | 2 +- default-configs/arm-linux-user.mak| 2 -- default-configs/arm-softmmu.mak | 1 - default-configs/armeb-linux-user.mak

[Qemu-devel] [v2 20/71] hw/arm/Kconfig: Add ARM Kconfig

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

[Qemu-devel] [v2 01/71] rules.mak: New logical functions

2013-09-26 Thread Ákos Kovács
lnot, land, lor, lif, eq, ne, isempty, notempty functions added Example usage: obj-$(call lor,$(CONFIG_LINUX),$(CONFIG_BSD)) += feature.o Signed-off-by: Ákos Kovács --- rules.mak | 16 1 file changed, 16 insertions(+) diff --git a/rules.mak b/rules.mak index 4499745..7e8e3b

[Qemu-devel] [v2 10/71] hw/mips/Makefile.objs: Create CONFIG_* for mips boards

2013-09-26 Thread Ákos Kovács
Add the new configs to default-configs/mips*-sofmmu.mak. Signed-off-by: Ákos Kovács --- default-configs/mips-softmmu.mak | 6 ++ default-configs/mips64-softmmu.mak | 6 ++ default-configs/mips64el-softmmu.mak | 6 ++ default-configs/mipsel-softmmu.mak | 6 ++ hw/mips/Make

[Qemu-devel] [v2 14/71] hw/lm32/Makefile.objs: Conditionally build lm32 and milkmyst

2013-09-26 Thread Ákos Kovács
Signed-off-by: Ákos Kovács --- hw/lm32/Makefile.objs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/lm32/Makefile.objs b/hw/lm32/Makefile.objs index ea6418a..c394186 100644 --- a/hw/lm32/Makefile.objs +++ b/hw/lm32/Makefile.objs @@ -1,3 +1,3 @@ # LM32 boards -obj-y +=

[Qemu-devel] [v2 05/71] Makefile: Clone kconfig git submodule in Makefile

2013-09-26 Thread Ákos Kovács
configure: Append CONFIG_DEVICES_FILE=config-all-devices.mak to the config-host.mak Use this new variable to control the current device configuration place. If the user wants to configure QEMU with Kconfig, replace config-all-devices.mak to kconfig-devices.mak at config-host.mak to use the new co

[Qemu-devel] [v2 09/71] hw/microblaze/Makefile.objs: Create configs for petalogix boards

2013-09-26 Thread Ákos Kovács
CONFIG_PETALOGIX_* configs added to default-configs/microblaze-softmmu.mak and default-configs/microblazeel-softmmu.mak. Signed-off-by: Ákos Kovács --- default-configs/microblaze-softmmu.mak | 3 +++ default-configs/microblazeel-softmmu.mak | 3 +++ hw/microblaze/Makefile.objs | 7

[Qemu-devel] [v2 00/71] Integrating Kconfig to Qemu

2013-09-26 Thread Ákos Kovács
This patchset contains the necessary changes in the build system to enable interactive build configuration with Kconfig. It also contains the Kconfig files for each hw/* subdirectory, including the boards. The most significant change is that the Makefile is now capable to include the generated

[Qemu-devel] [v2 12/71] hw/sh4/Makefile.objs: Build sh4 boards conditionally

2013-09-26 Thread Ákos Kovács
New CONFIG_* varibales created for r2d and shix boards and added to the default-configs/sh4*-softmmu.mak. Signed-off-by: Ákos Kovács --- default-configs/sh4-softmmu.mak | 3 +++ default-configs/sh4eb-softmmu.mak | 3 +++ hw/sh4/Makefile.objs | 4 ++-- 3 files changed, 8 insertions

Re: [Qemu-devel] [PATCH v3 2/3] block: qemu-iotests for vhdx, read sample dynamic image

2013-09-26 Thread Fam Zheng
On Wed, 09/25 08:12, Jeff Cody wrote: > This adds the VHDX format to the qemu-iotests format, and adds > a read test. The test reads from an existing sample image, that > was created with Hyper-V under Windwos Server 2012. s/Windwos/Windows/ Fam > > The image file is a 1GB dynamic image, with

[Qemu-devel] [v2 13/71] hw/sparc/Makefile.objs: CONFIG_* for sun4m and leon3 created

2013-09-26 Thread Ákos Kovács
CONFIG_LEON3 added to default-configs/sparc-softmmu.mak. Signed-off-by: Ákos Kovács --- default-configs/sparc-softmmu.mak | 2 ++ hw/sparc/Makefile.objs| 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/default-configs/sparc-softmmu.mak b/default-configs/sparc-so

[Qemu-devel] [v2 06/71] hw/arm/Makefile.objs: CONFIG_* created for each board

2013-09-26 Thread Ákos Kovács
The new CONFIG_* definitions added to the default-configs/arm-softmmu.mak Signed-off-by: Ákos Kovács --- default-configs/arm-softmmu.mak | 13 + hw/arm/Makefile.objs| 35 --- 2 files changed, 41 insertions(+), 7 deletions(-) diff --git a/d

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

2013-09-26 Thread Ákos Kovács
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(-) diff --git a/Makefile.target b/Makefile.target index 9a49852..bbc668b 100644 --- a/Makef

Re: [Qemu-devel] [PATCH 00/60] AArch64 TCG emulation support

2013-09-26 Thread Peter Maydell
On 27 September 2013 10:02, Alexander Graf wrote: > On 27.09.2013, at 02:47, Alexander Graf wrote: >> This is the first batch of patches to implement AArch64 instruction >> emulation in QEMU. It implements enough to execute simple AArch64 >> programs in linux-user mode. > > Ah, one important thing

[Qemu-devel] [PATCH 05/60] softfloat: Add stubs for int16 conversion

2013-09-26 Thread Alexander Graf
On AArch64 we have a few instructions that can convert between floats and 16 bit integers. Add stubs in the softfloat code to handle these, but don't add code to actually do so. Instead, any call to them will assert(0) for now. This stub implementation should be replaced by something that actually

[Qemu-devel] [PATCH] exec: cleanup DEBUG_SUBPAGE

2013-09-26 Thread Amos Kong
Touched some error after enabling DEBUG_SUBPAGE. Signed-off-by: Amos Kong --- exec.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/exec.c b/exec.c index 07aa2c6..5aef833 100644 --- a/exec.c +++ b/exec.c @@ -1573,7 +1573,7 @@ static uint64_t subpage_read(v

[Qemu-devel] [PATCH 55/60] AArch64: Add "Floating-point data-processing (1

2013-09-26 Thread Alexander Graf
This patch adds emulation for the "Floating-point data-processing (1 source)" group of instructions in their 64 bit flavors. Signed-off-by: Alexander Graf --- target-arm/helper-a64.c| 5 target-arm/helper-a64.h| 1 + target-arm/translate-a64.c | 69

[Qemu-devel] [PATCH 54/60] AArch64: Add "Floating-point data-processing (1

2013-09-26 Thread Alexander Graf
This patch adds emulation for the "Floating-point data-processing (1 source)" group of instructions in their 32 bit flavors. Signed-off-by: Alexander Graf --- target-arm/helper-a64.c| 5 +++ target-arm/helper-a64.h| 1 + target-arm/translate-a64.c | 79 +

[Qemu-devel] [PATCH 53/60] AArch64: Add "Floating-point compare" instruction

2013-09-26 Thread Alexander Graf
This patch adds support for instructions that belong to the "Floating-point compare" group of instructions. Signed-off-by: Alexander Graf --- target-arm/translate-a64.c | 66 ++ 1 file changed, 66 insertions(+) diff --git a/target-arm/translate-a64.c

[Qemu-devel] [PATCH 52/60] AArch64: Add "Floating-point<->integer conversions"

2013-09-26 Thread Alexander Graf
This patch adds emulation support for the "Floating-point<->integer conversions" family of instructions. Signed-off-by: Alexander Graf --- target-arm/translate-a64.c | 61 ++ 1 file changed, 61 insertions(+) diff --git a/target-arm/translate-a64.c b/t

Re: [Qemu-devel] [PATCH 00/60] AArch64 TCG emulation support

2013-09-26 Thread Alexander Graf
On 27.09.2013, at 02:47, Alexander Graf wrote: > Howdy, > > This is the first batch of patches to implement AArch64 instruction > emulation in QEMU. It implements enough to execute simple AArch64 > programs in linux-user mode. Ah, one important thing I forgot to mention is that this patch set i

[Qemu-devel] [PATCH 42/60] AArch64: Add literal ld instruction emulation

2013-09-26 Thread Alexander Graf
This patch adds emulation for PC-relative ld instructions. Signed-off-by: Alexander Graf --- target-arm/translate-a64.c | 38 +- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/target-arm/translate-a64.c b/target-arm/translate-a64.c index 2a7b042

[Qemu-devel] [PATCH 59/60] AArch64: Add "Floating-point data-processing (3

2013-09-26 Thread Alexander Graf
This patch adds emulation for the "Floating-point data-processing (3 source)" group of instructions in their 32 bit flavors. Signed-off-by: Alexander Graf --- target-arm/translate-a64.c | 58 ++ 1 file changed, 58 insertions(+) diff --git a/target-arm

[Qemu-devel] [PATCH 44/60] AArch64: Add division instruction family emulation

2013-09-26 Thread Alexander Graf
This patch adds emulation support for the udiv and sdiv instructions. Signed-off-by: Alexander Graf --- target-arm/helper-a64.c| 16 target-arm/helper-a64.h| 2 ++ target-arm/translate-a64.c | 43 +++ 3 files changed, 61 insertion

[Qemu-devel] [PATCH 57/60] AArch64: Add "Floating-point data-processing (2

2013-09-26 Thread Alexander Graf
This patch adds emulation for the "Floating-point data-processing (2 source)" group of instructions in their 64 bit flavors. Signed-off-by: Alexander Graf --- target-arm/translate-a64.c | 52 ++ 1 file changed, 52 insertions(+) diff --git a/target-arm

[Qemu-devel] [PATCH 46/60] AArch64: Add rev instruction family emulation

2013-09-26 Thread Alexander Graf
This patch adds emlulation support for rev and rbit instructions. Signed-off-by: Alexander Graf --- target-arm/helper-a64.c| 19 +++ target-arm/helper-a64.h| 1 + target-arm/translate-a64.c | 38 ++ 3 files changed, 58 insertions(+) d

[Qemu-devel] [PATCH 49/60] AArch64: Add "Data-processing (3 source)" instruction

2013-09-26 Thread Alexander Graf
This patch adds emulation for most of the "Data-processing (3 source)" family of instructions, namely MADD, MSUB, SMADDL, SMSUBL, SMULH, UMADDL, UMSUBL, UMULH. Signed-off-by: Alexander Graf --- target-arm/helper-a64.c| 14 target-arm/helper-a64.h| 2 ++ target-arm/translate-a64

[Qemu-devel] [PATCH 47/60] AArch64: Add clz instruction emulation

2013-09-26 Thread Alexander Graf
This patch adds emlulation support for the clz instruction. Signed-off-by: Alexander Graf --- target-arm/helper-a64.c| 5 + target-arm/helper-a64.h| 1 + target-arm/translate-a64.c | 31 +++ 3 files changed, 37 insertions(+) diff --git a/target-arm/help

  1   2   3   >