Re: [Qemu-devel] [SeaBIOS] [PATCH 11/12] Migrate 64bit entries to 64bit pci regions

2012-04-29 Thread Alexey Korolev
On 27/04/12 00:45, Kevin O'Connor wrote: > On Wed, Apr 25, 2012 at 05:29:04PM +0200, Gerd Hoffmann wrote: >> Issue #1: seabios can't boot from a virtio-scsi disk if the controller >> is behind a pci bridge. I think the reason simply is that (according to >> the seabios log) only root bus pci devi

Re: [Qemu-devel] [PATCH V3 13/13] hw/sd.c: introduce "eject" property for SD card objects

2012-04-29 Thread Igor Mitsyanko
On 28.04.2012 5:27 PM, Paolo Bonzini wrote: Il 27/04/2012 17:50, Igor Mitsyanko ha scritto: Boolean property "eject" could be used to query if virtual media is inserted into SD card object, or to deattach BlockDriverState from SD card object. All this is already available in the BlockDriverSt

[Qemu-devel] [PATCH v4 2/4] cputlb: move TLB handling to a separate file

2012-04-29 Thread Blue Swirl
Move TLB handling and softmmu code load helpers to cputlb.c, compile only for softmmu targets. Signed-off-by: Blue Swirl --- v3->v4: fixed uintptr_t mismerge. --- Makefile.target |2 +- cputlb.c| 362 cputlb.h| 63

Re: [Qemu-devel] [PATCH V3 12/13] hw/sd.c: introduce SD card "device-id" property

2012-04-29 Thread Igor Mitsyanko
On 28.04.2012 5:25 PM, Paolo Bonzini wrote: Il 27/04/2012 18:52, Igor Mitsyanko ha scritto: The other block device models use a property "drive" for connecting to a block backend, usually via DEFINE_BLOCK_PROPERTIES(). Why is it necessary for sd.c to be different? SD card is not an instanc

Re: [Qemu-devel] [PATCH] Fix SPI SD emulation

2012-04-29 Thread Igor Mitsyanko
On 29.04.2012 6:31 PM, Paul Brook wrote: -sd_adtc, sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, +sd_adtc, sd_none, sd_bc, sd_bc, sd_none, sd_none, sd_bcr? not that it really matters though Err, probably. +case 58:/* CMD58: READ_OCR */ +if (!sd->spi) { +

[Qemu-devel] [Bug 942299] Re: Regression in booting HelenOS/ppc under Qemu

2012-04-29 Thread agraf
Mark's TLB patch was enough to fix HelenOS :). ** Changed in: qemu Status: New => Fix Committed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/942299 Title: Regression in booting HelenOS/ppc

Re: [Qemu-devel] is it possible to run KVM module inside a qemu VM

2012-04-29 Thread Alexander Graf
On 29.04.2012, at 12:48, Nadav Har'El wrote: > On Sun, Apr 29, 2012, Steven wrote about "is it possible to run KVM module > inside a qemu VM": >> Hi, >> I know there exists nested KVM in the kernel tree such that a KVM >> hypervisor can run inside a guest. >> Now I am wondering if it is possible

Re: [Qemu-devel] [PATCH] slirp: don't use "smb ports = 0" option

2012-04-29 Thread Andreas Färber
Am 29.04.2012 18:21, schrieb Nikolaus Rath: > It'd be great if someone could take a look at this Your patches are not quite in the expected format. Cf. http://wiki.qemu.org/Contribute/SubmitAPatch * A patch is not a letter, do not include personal remarks such as "Hello," in the commit message; p

Re: [Qemu-devel] Memory API: handling unassigned physical memory

2012-04-29 Thread Anthony Liguori
On 04/29/2012 03:09 PM, Blue Swirl wrote: On Sun, Apr 29, 2012 at 19:35, Anthony Liguori wrote: On 04/29/2012 12:25 PM, Mark Cave-Ayland wrote: Hi all, I've been having a look at handling SBUS probes within qemu-system-sparc when I came across a very simple crash bug with git master trying t

Re: [Qemu-devel] [PATCH v2 4/6] prep: move int-ack register from PReP to Raven PCI emulation

2012-04-29 Thread Andreas Färber
Am 29.04.2012 10:32, schrieb Avi Kivity: > On 04/28/2012 09:46 PM, Andreas Färber wrote: >> Am 14.04.2012 22:48, schrieb Hervé Poussineau: >>> Register is one byte-wide (as per specification), so there is no need to >>> specify endianness. >> >> The region was 4 bytes before, now it's 1. What happ

Re: [Qemu-devel] is it possible to run KVM module inside a qemu VM

2012-04-29 Thread Nadav Har'El
On Sun, Apr 29, 2012, Steven wrote about "is it possible to run KVM module inside a qemu VM": > Hi, > I know there exists nested KVM in the kernel tree such that a KVM > hypervisor can run inside a guest. > Now I am wondering if it is possible to load the kvm module in a qemu > VM (-no-kvm). So I

[Qemu-devel] [Bug 942299] Re: Regression in booting HelenOS/ppc under Qemu

2012-04-29 Thread Bug Watch Updater
** Changed in: helenos Status: New => Unknown -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/942299 Title: Regression in booting HelenOS/ppc under Qemu Status in Home for various HelenOS dev

Re: [Qemu-devel] [PULL] qemu-ga: fsfreeze hardening/fixes

2012-04-29 Thread Anthony Liguori
On 04/27/2012 05:39 PM, Michael Roth wrote: The following changes since commit a8b69b8e2431edfcb6c4cfb069787e9071d6235b: Merge remote-tracking branch 'qmp/queue/qmp' into staging (2012-04-27 12:00:06 -0500) are available in the git repository at: git://github.com/mdroth/qemu.git qga-pul

Re: [Qemu-devel] Memory API: handling unassigned physical memory

2012-04-29 Thread Blue Swirl
On Sun, Apr 29, 2012 at 19:35, Anthony Liguori wrote: > On 04/29/2012 12:25 PM, Mark Cave-Ayland wrote: >> >> Hi all, >> >> I've been having a look at handling SBUS probes within qemu-system-sparc >> when I >> came across a very simple crash bug with git master trying to access >> unassigned >> ph

Re: [Qemu-devel] [PATCH 0/4] tracetool: Python 2.4 compatibility fixes

2012-04-29 Thread Andreas Färber
Am 29.04.2012 12:02, schrieb Erik Rull: > Patch 3/4 I haven't tested, I need to type the diffs manually into my > sourcecode, because I haven't found a possiblity of doing that > automatically. If you have an idea how to do that, please let me know. Save the raw email to disk (.mbox/.eml format) a

Re: [Qemu-devel] Memory API: handling unassigned physical memory

2012-04-29 Thread Anthony Liguori
On 04/29/2012 12:25 PM, Mark Cave-Ayland wrote: Hi all, I've been having a look at handling SBUS probes within qemu-system-sparc when I came across a very simple crash bug with git master trying to access unassigned physical addresses: (qemu) info mtree memory -7ffe

Re: [Qemu-devel] scsi-testsuite for virtio-scsi

2012-04-29 Thread Anthony Liguori
On 04/28/2012 09:34 AM, Paolo Bonzini wrote: Il 28/04/2012 03:45, Zhi Yong Wu ha scritto: It's based on qemu-iotests, so the structure is familiar but uses sg3-utils to send SCSI commands instead of qemu-io. I think that those tests should be ran in guest, qemu-iotests has been merged into QEMU

Re: [Qemu-devel] [PATCH] xtensa: remove unnecessary include of dyngen-exec.h

2012-04-29 Thread Max Filippov
On 04/26/2012 01:33 AM, Peter Portante wrote: --- xtensa-semi.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/xtensa-semi.c b/xtensa-semi.c index b7c8c34..1c8a19e 100644 --- a/xtensa-semi.c +++ b/xtensa-semi.c @@ -30,7 +30,6 @@ #include #include #include "cpu.h

[Qemu-devel] Plans for the hard feature freeze

2012-04-29 Thread Anthony Liguori
Hi, At this point, I've processed just about everything I can prior to release. I haven't yet sent out applied notes so if you are concerned about something making the release, please check to see if it's applied in master. If not, please resend applied and tested against the latest master b

[Qemu-devel] Memory API: handling unassigned physical memory

2012-04-29 Thread Mark Cave-Ayland
Hi all, I've been having a look at handling SBUS probes within qemu-system-sparc when I came across a very simple crash bug with git master trying to access unassigned physical addresses: (qemu) info mtree memory -7ffe (prio 0, RW): system -00

[Qemu-devel] [PATCH] main-loop: Calculate poll timeout using timeout argument

2012-04-29 Thread Stefan Weil
The timeout argument was unused up to now, but it can be used to reduce the poll_timeout when it is infinite (negative value) or larger than timeout. Signed-off-by: Stefan Weil --- main-loop.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/main-loop.c b/main-loop.c

[Qemu-devel] [PATCH 2/2] iohandler: Use bool for boolean struct member and remove holes

2012-04-29 Thread Stefan Weil
Using bool reduces the size of the structure and improves readability. Two holes in the structure were removed. Signed-off-by: Stefan Weil --- iohandler.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iohandler.c b/iohandler.c index 5640d49..3c74de6 100644 --- a/ioh

[Qemu-devel] [PATCH 1/2] async: Use bool for boolean struct members and remove a hole

2012-04-29 Thread Stefan Weil
Using bool reduces the size of the structure and improves readability. A hole in the structure was removed. Signed-off-by: Stefan Weil --- async.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/async.c b/async.c index ecdaf15..85cc641 100644 --- a/async.c +++ b/asy

Re: [Qemu-devel] [PATCH] Declare state directory in smb.conf

2012-04-29 Thread Jan Kiszka
Nikolaus Rath schrieb: >Hi, > >It'd be great if someone could take a look at this and apply it if >there >are no objections... Will do asap when back from vacation. Jan > >Thanks, >-Nikolaus > >Nikolaus Rath writes: >> The smb.conf generated by the userspace networking does not include a >s

Re: [Qemu-devel] [PATCH] slirp: don't use "smb ports = 0" option

2012-04-29 Thread Nikolaus Rath
Hi, It'd be great if someone could take a look at this and apply it if there are no objections... I also asked on the Samba mailing list about this, and this hack should not be necessary with any version of samba. http://article.gmane.org/gmane.network.samba.general/124526 Thanks, -Nikolaus Nik

Re: [Qemu-devel] [PATCH] Declare state directory in smb.conf

2012-04-29 Thread Nikolaus Rath
Hi, It'd be great if someone could take a look at this and apply it if there are no objections... Thanks, -Nikolaus Nikolaus Rath writes: > The smb.conf generated by the userspace networking does not include a state > directory > directive. Samba therefore falls back to the default value. Sinc

Re: [Qemu-devel] [PATCH] Fix SPI SD emulation

2012-04-29 Thread Paul Brook
> > -sd_adtc, sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, > > +sd_adtc, sd_none, sd_bc, sd_bc, sd_none, sd_none, > > sd_bcr? not that it really matters though Err, probably. > > +case 58:/* CMD58: READ_OCR */ > > +if (!sd->spi) { > > +goto bad_cm

Re: [Qemu-devel] [PATCH 0/4] tracetool: Python 2.4 compatibility fixes

2012-04-29 Thread Erik Rull
Stefan Hajnoczi wrote: The new Python tracetool implementation works great but does not run on older Python installations. This series takes us back to the happy days of Python 2.4, which was released in 2004. As a result tracetool should now work again on Mac OS X v10.5.8, OpenIndiana oi_151a,

Re: [Qemu-devel] [PATCH] Fix IDE FDC emulation for no media

2012-04-29 Thread Pavel Hrdina
On 04/26/2012 05:13 PM, Markus Armbruster wrote: Pavel Hrdina writes: Hi, this is the patch to fix incorrect handling of IDE floppy drive controller emulation when no media is present. If the guest is booted without a media then the drive was not being emulated at all but this patch enables t

Re: [Qemu-devel] synching GPE0_BLK between OVMF and qemu

2012-04-29 Thread Gleb Natapov
On Sat, Apr 28, 2012 at 06:17:24PM -0700, Jordan Justen wrote: > On Sat, Apr 28, 2012 at 00:08, Gleb Natapov wrote: > > On Fri, Apr 27, 2012 at 02:55:48PM -0700, Jordan Justen wrote: > >> But, if qemu could be changed, > >> could it be made to match the PIIX4 datasheet? > >> > > We try not to chan

Re: [Qemu-devel] [PATCH v2 4/6] prep: move int-ack register from PReP to Raven PCI emulation

2012-04-29 Thread Avi Kivity
On 04/28/2012 09:46 PM, Andreas Färber wrote: > Am 14.04.2012 22:48, schrieb Hervé Poussineau: > > Register is one byte-wide (as per specification), so there is no need to > > specify endianness. > > The region was 4 bytes before, now it's 1. What happens when a 4-byte > read is attempted at that

Re: [Qemu-devel] [PATCH] virtio-serial-bus: Unset guest_connected at reset and driver reset

2012-04-29 Thread Michael S. Tsirkin
On Sat, Apr 28, 2012 at 12:26:50AM +0530, Amit Shah wrote: > When a guest driver resets the virtio status to not ready, or when qemu > is reset, reset all ports' guest_connected bit and let port users know > of this event if they have the guest_close() callback registered. > > Reviewed-by: Alon Le