[Qemu-devel] Regarding qemu support for mrrc/mcrr

2012-08-04 Thread Aakanksha Pudipeddi
Hi everyone, I came across this while working with qemu for a project. It looks like there is no support for mrrc/mcrr in qemu which results in the linux arch_timer code throwing a reserved instruction exception. Could you please let me know if anybody is working on providing this support in qe

[Qemu-devel] [PATCH v3 4/4] esp: add Tekram DC-390 emulation (PC SCSI adapter)

2012-08-04 Thread Hervé Poussineau
Difference with AMD PCscsi is that DC-390 contains a EEPROM, and that a romfile is available to add INT13 support. This has been successfully tested on: - MS DOS 6.22 (using DC390 ASPI driver) - MS Windows 98 SE (using DC390 driver) - MS Windows NT 3.1 (using DC390 driver) - MS Windows NT 4.0 (usi

[Qemu-devel] [PATCH v3 2/4] esp: move PCI emulation to a new file esp-pci.c

2012-08-04 Thread Hervé Poussineau
sparc machines loose ability to instanciate PCI ESP SCSI adapter, which is not a big loose as they don't have PCI bus support. Signed-off-by: Hervé Poussineau --- default-configs/pci.mak |1 + hw/Makefile.objs|1 + hw/esp-pci.c| 396 ++

[Qemu-devel] [PATCH v3 3/4] Revert "pci: add some stubs"

2012-08-04 Thread Hervé Poussineau
This reverts commit 0883c5159f1df05d8761014f65451c3c3b77ebcf. Those stubs were only used by PCI ESP emulation, which is now not compiled on architectures which have no PCI bus support. Signed-off-by: Hervé Poussineau --- hw/pci-stub.c | 15 --- 1 file changed, 15 deletions(-) dif

[Qemu-devel] [PATCH v3 1/4] esp: move some definitions to header file

2012-08-04 Thread Hervé Poussineau
These will be used by next commits. Signed-off-by: Hervé Poussineau --- hw/esp.c | 125 -- hw/esp.h | 119 +++ 2 files changed, 127 insertions(+), 117 deletions(-) diff --git a/

[Qemu-devel] [PATCH v3 0/4] esp: add Tekram DC-390 emulation (PC SCSI adapter)

2012-08-04 Thread Hervé Poussineau
This patch cleans up esp SCSI adapter emulation, by moving to a new file the esp PCI emulation (patches 1 to 3). Patch 4 adds a DC-390 emulation, which is not compiled on sparc. You're now able to install MS Windows NT 3.1 (which does not support IDE cdroms) directly on an empty VM, without instal

Re: [Qemu-devel] [Bug 1032828] Re: 64-bit capable PPC models should be supported in 32-bit usermode.

2012-08-04 Thread Samuel Bronson
On Aug 4, 2012, at 11:13 AM, Andreas Färber wrote: > darwin-user has been dropped from QEMU v1.1 since no one seemed to > care > to make it even compile (annoying qemu-system-* users). So you don't > seem to be testing a recent version, and old stable versions only get > bugfixes, not new featur

Re: [Qemu-devel] [PATCH v5 00/10] {alpha-}linux user improvements

2012-08-04 Thread Blue Swirl
On Sat, Aug 4, 2012 at 4:40 PM, Richard Henderson wrote: > On 2012-08-04 06:13, Blue Swirl wrote: >> On Fri, Aug 3, 2012 at 10:40 PM, Richard Henderson wrote: >>> Tree at >>> >>> git://repo.or.cz/qemu/rth.git axp-next >> >> I get this error: >> CCarm-linux-user/linux-user/syscall.o >> /sr

Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests

2012-08-04 Thread Blue Swirl
On Sat, Jul 28, 2012 at 1:48 PM, Peter Maydell wrote: > On 28 July 2012 13:31, Blue Swirl wrote: >> I'm getting this error, probably because now Valgrind support is enabled: >> CCcoroutine-ucontext.o >> cc1: warnings being treated as errors >> /src/qemu/coroutine-ucontext.c:204: error: unkn

[Qemu-devel] [Bug 1032828] Re: 64-bit capable PPC models should be supported in 32-bit usermode.

2012-08-04 Thread Andreas Färber
darwin-user has been dropped from QEMU v1.1 since no one seemed to care to make it even compile (annoying qemu-system-* users). So you don't seem to be testing a recent version, and old stable versions only get bugfixes, not new features. For linux-user there is a separate qemu-ppc64abi32 binary f

Re: [Qemu-devel] [PATCH v5 00/10] {alpha-}linux user improvements

2012-08-04 Thread Richard Henderson
On 2012-08-04 06:13, Blue Swirl wrote: > On Fri, Aug 3, 2012 at 10:40 PM, Richard Henderson wrote: >> Tree at >> >> git://repo.or.cz/qemu/rth.git axp-next > > I get this error: > CCarm-linux-user/linux-user/syscall.o > /src/qemu/linux-user/syscall.c: In function 'do_syscall': > /src/qemu/

[Qemu-devel] [Bug 355410] Re: kvm crashed with SIGSEGV in malloc_consolidate()

2012-08-04 Thread Samuel Bronson
** Tags added: kvm -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/355410 Title: kvm crashed with SIGSEGV in malloc_consolidate() Status in QEMU: Incomplete Status in “qemu-kvm” package in Ubuntu:

Re: [Qemu-devel] [PATCH 1/2] configure: Don't run Xen compile checks in subshells

2012-08-04 Thread Blue Swirl
Thanks, applied both. On Thu, Aug 2, 2012 at 5:30 PM, Peter Maydell wrote: > The Xen compile checks are currently run inside subshells. This > is unnecessary and has the effect that if do_cc() exits with > an error message then this only causes the subshell to exit, > not the whole of configure,

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

2012-08-04 Thread Blue Swirl
Thanks, applied. On Tue, Jul 17, 2012 at 4:31 AM, Chegu Vinod wrote: > Changes since v3: >- using bitmap_set() instead of set_bit() in numa_add() routine. >- removed call to bitmak_zero() since bitmap_new() also zeros' the bitmap. >- Rebased to the latest qemu. > > Changes since v2: >

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 >

[Qemu-devel] [Bug 1032828] Re: 64-bit capable PPC models should be supported in 32-bit usermode.

2012-08-04 Thread Samuel Bronson
Oh, by the way, I'm using Mac OS X version 10.5.8. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1032828 Title: 64-bit capable PPC models should be supported in 32-bit usermode. Status in QEMU:

Re: [Qemu-devel] [PATCHv3 1/3] unicore32: Split UniCore-F64 instruction helpers from helper.c

2012-08-04 Thread guanxuetao
> On Wed, Aug 1, 2012 at 3:07 AM, wrote: >> From: Guan Xuetao >> >> This patch just splits ucf64 instruction simulation helpers from >> helper.c. >> Also, two checkpatch warnings are solved. >> >> v1->v2: adjust copyright information for new ucf64_helper.c > > The patches don't apply, do they de

Re: [Qemu-devel] [RESEND PULL REQUEST] UniCore32 PUV3 machine support

2012-08-04 Thread guanxuetao
> On Wed, Aug 1, 2012 at 3:13 AM, wrote: >> are available in the git repository at: >> >> git://github.com/gxt/QEMU.git unicore32 > > I'm still getting these errors, please fix: > CClibhw32/hw/puv3_gpio.o > /src/qemu/hw/puv3_gpio.c: In function 'puv3_gpio_read': > /src/qemu/hw/puv3_gpio.c

Re: [Qemu-devel] [PATCH v5 00/10] {alpha-}linux user improvements

2012-08-04 Thread Blue Swirl
On Fri, Aug 3, 2012 at 10:40 PM, Richard Henderson wrote: > Tree at > > git://repo.or.cz/qemu/rth.git axp-next I get this error: CCarm-linux-user/linux-user/syscall.o /src/qemu/linux-user/syscall.c: In function 'do_syscall': /src/qemu/linux-user/syscall.c:720:34: error: array subscript is

Re: [Qemu-devel] [Qemu-ppc] [PATCH v6 3/5] Add one new file vga-pci.h

2012-08-04 Thread Blue Swirl
On Sat, Aug 4, 2012 at 12:49 PM, Li Zhang wrote: > On Sat, Aug 4, 2012 at 8:43 PM, Blue Swirl wrote: >> On Sat, Aug 4, 2012 at 12:05 PM, Li Zhang wrote: >>> Functions pci_vga_init() and pci_cirrus_vga_init() are declared >>> in pc.h. That prevents other platforms (e.g. sPAPR) to use them. >>> >>

Re: [Qemu-devel] [PATCH] build: Fix build breakage detected by buildbot

2012-08-04 Thread Anthony Liguori
riegama...@gmail.com writes: > From: Dunrong Huang > > More details: > http://buildbot.b1-systems.de/qemu/builders/xen_unstable/builds/83/steps/compile/logs/stdio > > VLANState has been removed since commit a005d07, so "vlan id" should be > fetched using net_hub_id_for_client(). > > Signed-off-by

Re: [Qemu-devel] [Qemu-ppc] [PATCH v6 3/5] Add one new file vga-pci.h

2012-08-04 Thread Li Zhang
On Sat, Aug 4, 2012 at 8:43 PM, Blue Swirl wrote: > On Sat, Aug 4, 2012 at 12:05 PM, Li Zhang wrote: >> Functions pci_vga_init() and pci_cirrus_vga_init() are declared >> in pc.h. That prevents other platforms (e.g. sPAPR) to use them. >> >> This patch is to create one new file vga-pci.h and move

Re: [Qemu-devel] [Qemu-ppc] [PATCH v6 3/5] Add one new file vga-pci.h

2012-08-04 Thread Blue Swirl
On Sat, Aug 4, 2012 at 12:05 PM, Li Zhang wrote: > Functions pci_vga_init() and pci_cirrus_vga_init() are declared > in pc.h. That prevents other platforms (e.g. sPAPR) to use them. > > This patch is to create one new file vga-pci.h and move the > declarations to vga-pci.h, so that they can be sha

[Qemu-devel] [Qemu-ppc][PATCH v6 5/5] spapr: Add support for -vga option

2012-08-04 Thread Li Zhang
Also instanciate the USB keyboard and mouse when that option is used (you can still use -device to create individual devices without all the defaults) Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Li Zhang --- hw/spapr.c | 31 ++- 1 files changed, 30 inserti

[Qemu-devel] [Qemu-ppc][PATCH v6 4/5] Cleanup pc.h on other platforms

2012-08-04 Thread Li Zhang
The declarations of pci_vga_init() and pci_cirrus_vga_init() are moved to vga-pci.h to be called by all the platforms. So it's necessary to cleanup pc.h on the platforms other than PC which include the file and add vga-pci.h on all the plaforms to call vga related functions. This patch is to clean

[Qemu-devel] [Qemu-ppc][PATCH v6 3/5] Add one new file vga-pci.h

2012-08-04 Thread Li Zhang
Functions pci_vga_init() and pci_cirrus_vga_init() are declared in pc.h. That prevents other platforms (e.g. sPAPR) to use them. This patch is to create one new file vga-pci.h and move the declarations to vga-pci.h, so that they can be shared by all the platforms. Signed-off-by: Li Zhang --- hw

[Qemu-devel] [Qemu-ppc][PATCH v6 2/5] Get USB option by machine options on all platforms

2012-08-04 Thread Li Zhang
All the plaftorms use usb_enabled global variable to check USB option. Now that, usb_enabled has been removed and the value of USB option should be got from machine options. This patch is to clean up usb_enable on all platforms and get USB option by machine options. Actually, in vl.c, the default

[Qemu-devel] [Qemu-ppc][PATCH v6 1/5] Add USB option in machine options

2012-08-04 Thread Li Zhang
When -usb option is used, global varible usb_enabled is set. And all the plafrom will create one USB controller according to this variable. In fact, global varibles make code hard to read. So this patch is to remove global variable usb_enabled and add USB option in machine options. All the plaform

[Qemu-devel] [Qemu-ppc][PATCH v6 0/5] Add USB enablement and VGA enablement on sPAPR

2012-08-04 Thread Li Zhang
v1 -> v2: * Convert USB option from char to bool. v2 -> v3: * Remove global USB option * Get USB option with qemu_opt_get_bool(). * Send vga patch for sPAPR which requires USB enabled. v3 -> v4: * Fix some English grammar and coding style faults * Replace usb_on with add_u

Re: [Qemu-devel] [PATCHv3 1/3] unicore32: Split UniCore-F64 instruction helpers from helper.c

2012-08-04 Thread Blue Swirl
On Wed, Aug 1, 2012 at 3:07 AM, wrote: > From: Guan Xuetao > > This patch just splits ucf64 instruction simulation helpers from > helper.c. > Also, two checkpatch warnings are solved. > > v1->v2: adjust copyright information for new ucf64_helper.c The patches don't apply, do they depend on the

Re: [Qemu-devel] [RESEND PULL REQUEST] UniCore32 PUV3 machine support

2012-08-04 Thread Blue Swirl
On Wed, Aug 1, 2012 at 3:13 AM, wrote: > are available in the git repository at: > > git://github.com/gxt/QEMU.git unicore32 I'm still getting these errors, please fix: CClibhw32/hw/puv3_gpio.o /src/qemu/hw/puv3_gpio.c: In function 'puv3_gpio_read': /src/qemu/hw/puv3_gpio.c:48:5: error:

[Qemu-devel] [PATCH] build: Fix build breakage detected by buildbot

2012-08-04 Thread riegamaths
From: Dunrong Huang More details: http://buildbot.b1-systems.de/qemu/builders/xen_unstable/builds/83/steps/compile/logs/stdio VLANState has been removed since commit a005d07, so "vlan id" should be fetched using net_hub_id_for_client(). Signed-off-by: Dunrong Huang --- hw/xen_backend.h |

Re: [Qemu-devel] [PATCH v4 2/2] block: Support GlusterFS as a QEMU block backend

2012-08-04 Thread Blue Swirl
On Sat, Aug 4, 2012 at 2:44 AM, Bharata B Rao wrote: > On Fri, Aug 03, 2012 at 03:57:20PM +, Blue Swirl wrote: >> >> > +static void gluster_finish_aiocb(struct glfs_fd *fd, ssize_t ret, void >> >> > *arg) >> >> > +{ >> >> > +GlusterAIOCB *acb = (GlusterAIOCB *)arg; >> >> > +BDRVGluste

Re: [Qemu-devel] [Qemu-ppc][PATCH v6 5/5] spapr: Add support for -vga option

2012-08-04 Thread Li Zhang
Reply to mailing list. :) On 2012年08月05日 02:41, zhlci...@gmail.com wrote: From: Li Zhang Also instanciate the USB keyboard and mouse when that option is used (you can still use -device to create individual devices without all the defaults) Signed-off-by: Benjamin Herrenschmidt Signed-off-by:

Re: [Qemu-devel] [Qemu-ppc][PATCH v6 4/5] Cleanup pc.h on other platforms

2012-08-04 Thread Li Zhang
Reply to mailing list. :) On 2012年08月05日 02:41, zhlci...@gmail.com wrote: From: Li Zhang The declarations of pci_vga_init() and pci_cirrus_vga_init() are moved to vga-pci.h to be called by all the platforms. So it's necessary to cleanup pc.h on the platforms other than PC which include the fil

Re: [Qemu-devel] [Qemu-ppc][PATCH v6 3/5] Add one new file vga-pci.h

2012-08-04 Thread Li Zhang
Reply to mailing list. :) On 2012年08月05日 02:41, zhlci...@gmail.com wrote: From: Li Zhang Functions pci_vga_init() and pci_cirrus_vga_init() are declared in pc.h. That prevents other platforms (e.g. sPAPR) to use them. This patch is to create one new file vga-pci.h and move the declarations to

Re: [Qemu-devel] [Qemu-ppc][PATCH v6 2/5] Get USB option by machine options on all platforms

2012-08-04 Thread Li Zhang
Reply to mailing list. :) On 2012年08月05日 02:41, zhlci...@gmail.com wrote: From: Li Zhang All the plaftorms use usb_enabled global variable to check USB option. Now that, usb_enabled has been removed and the value of USB option should be got from machine options. This patch is to clean up usb_

Re: [Qemu-devel] [Qemu-ppc][PATCH v6 0/5] Add USB enablement and VGA enablement on sPAPR

2012-08-04 Thread Li Zhang
Sorry, it seems that I send this patchset twice. There are still some problems of my mail. The mailing list can't receive my mail. :) On 2012年08月05日 02:40, zhlci...@gmail.com wrote: From: Li Zhang v1 -> v2: * Convert USB option from char to bool. v2 -> v3: * Remove global USB option

Re: [Qemu-devel] [PATCH 2/5] pseries: Instantiate USB if requested

2012-08-04 Thread Li Zhang
On Tue, Jul 31, 2012 at 3:36 PM, Benjamin Herrenschmidt wrote: > On Tue, 2012-07-31 at 16:09 +1000, David Gibson wrote: >> The pseries machine currently ignores the -usb command line option. >> This patch corrects the problem by having it instantiate a PCI OHCI >> USB host controller when -usb is

[Qemu-devel] buildbot failure in qemu on xen40

2012-08-04 Thread qemu
The Buildbot has detected a new failure on builder xen40 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/xen40/builds/84 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: anthony_xen Build Reason: The Nightly scheduler n