Re: [SeaBIOS] [PATCH v2] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Paolo Bonzini
Il 29/05/2013 06:41, Amos Kong ha scritto: > On Tue, May 28, 2013 at 01:15:57PM +0200, Paolo Bonzini wrote: >> Il 28/05/2013 13:00, Amos Kong ha scritto: >>> Recent virtio refactoring in QEMU made virtio-bus become the parent bus >>> of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implemen

Re: [SeaBIOS] [Qemu-devel] SeaBIOS v1.7.2.2 stable release

2013-05-28 Thread Wenchao Xia
于 2013-5-29 12:43, Wenchao Xia 写道: 于 2013-5-29 8:08, Kevin O'Connor 写道: On Mon, May 27, 2013 at 05:11:46PM +0400, Michael Tokarev wrote: 27.05.2013 16:59, Kevin O'Connor wrote: A new stable release of SeaBIOS (version 1.7.2.2) has been tagged. This release contains bug fixes. The release is a

Re: [SeaBIOS] [Qemu-devel] SeaBIOS v1.7.2.2 stable release

2013-05-28 Thread Wenchao Xia
于 2013-5-29 8:08, Kevin O'Connor 写道: On Mon, May 27, 2013 at 05:11:46PM +0400, Michael Tokarev wrote: 27.05.2013 16:59, Kevin O'Connor wrote: A new stable release of SeaBIOS (version 1.7.2.2) has been tagged. This release contains bug fixes. The release is available via git: git clone git://gi

Re: [SeaBIOS] [PATCH v2] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Amos Kong
On Tue, May 28, 2013 at 01:15:57PM +0200, Paolo Bonzini wrote: > Il 28/05/2013 13:00, Amos Kong ha scritto: > > Recent virtio refactoring in QEMU made virtio-bus become the parent bus > > of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation, > > so redundant typename will be adde

Re: [SeaBIOS] [SeaBIOS PATCH] boot: fix fw_dev_path pattern for q35-pcihost

2013-05-28 Thread Amos Kong
On Tue, May 28, 2013 at 06:59:02PM -0400, Kevin O'Connor wrote: > On Tue, May 28, 2013 at 08:28:14PM +0800, Amos Kong wrote: > > Bootindex string passed from qemu: > > /q35-pcihost@i0cf8/ethernet@2/ethernet-phy@0 > > > > We match pci domain by "/pci@i0cf8" in SeaBIOS, but fw_dev_path prefix > > o

[SeaBIOS] [PATCH][seabios] ec: add ASL for ACPI Embedded Controller

2013-05-28 Thread liguang
Signed-off-by: liguang --- src/acpi-dsdt-isa.dsl | 26 ++ src/q35-acpi-dsdt.dsl |1 + 2 files changed, 27 insertions(+), 0 deletions(-) diff --git a/src/acpi-dsdt-isa.dsl b/src/acpi-dsdt-isa.dsl index 23761db..2b9c3a0 100644 --- a/src/acpi-dsdt-isa.dsl +++ b/src/acp

Re: [SeaBIOS] SeaBIOS v1.7.2.2 stable release

2013-05-28 Thread Kevin O'Connor
On Mon, May 27, 2013 at 05:11:46PM +0400, Michael Tokarev wrote: > 27.05.2013 16:59, Kevin O'Connor wrote: > > A new stable release of SeaBIOS (version 1.7.2.2) has been tagged. > > This release contains bug fixes. > > > > The release is available via git: > > git clone git://git.seabios.org/seabi

Re: [SeaBIOS] KVM call agenda for 2013-05-28

2013-05-28 Thread Kevin O'Connor
On Thu, May 23, 2013 at 03:41:32PM +0300, Michael S. Tsirkin wrote: > Juan is not available now, and Anthony asked for > agenda to be sent early. > So here comes: > > Agenda for the meeting Tue, May 28: > > - Generating acpi tables I didn't see any meeting notes, but I thought it would be worthw

Re: [SeaBIOS] [SeaBIOS PATCH] boot: fix fw_dev_path pattern for q35-pcihost

2013-05-28 Thread Kevin O'Connor
On Tue, May 28, 2013 at 08:28:14PM +0800, Amos Kong wrote: > Bootindex string passed from qemu: > /q35-pcihost@i0cf8/ethernet@2/ethernet-phy@0 > > We match pci domain by "/pci@i0cf8" in SeaBIOS, but fw_dev_path prefix > of q35 is "/q35-pcihost@i0cf8". So bootindex in qemu commandline > doesn't wo

Re: [SeaBIOS] [SeaBIOS PATCH] boot: fix fw_dev_path pattern for q35-pcihost

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 14:28, Amos Kong ha scritto: > Bootindex string passed from qemu: > /q35-pcihost@i0cf8/ethernet@2/ethernet-phy@0 > > We match pci domain by "/pci@i0cf8" in SeaBIOS, but fw_dev_path prefix > of q35 is "/q35-pcihost@i0cf8". So bootindex in qemu commandline > doesn't work if it uses q3

[SeaBIOS] [SeaBIOS PATCH] boot: fix fw_dev_path pattern for q35-pcihost

2013-05-28 Thread Amos Kong
Bootindex string passed from qemu: /q35-pcihost@i0cf8/ethernet@2/ethernet-phy@0 We match pci domain by "/pci@i0cf8" in SeaBIOS, but fw_dev_path prefix of q35 is "/q35-pcihost@i0cf8". So bootindex in qemu commandline doesn't work if it uses q35 machine type. This patch fixes the pattern to match

Re: [SeaBIOS] [Qemu-devel] [PATCH v2] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Amos Kong
On Tue, May 28, 2013 at 07:00:59PM +0800, Amos Kong wrote: > Recent virtio refactoring in QEMU made virtio-bus become the parent bus > of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation, > so redundant typename will be added to fw_dev_path. It causes that > bootindex parameter

Re: [SeaBIOS] [PATCH v2] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 13:00, Amos Kong ha scritto: > Recent virtio refactoring in QEMU made virtio-bus become the parent bus > of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation, > so redundant typename will be added to fw_dev_path. It causes that > bootindex parameter of scsi device d

[SeaBIOS] [PATCH v2] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Amos Kong
Recent virtio refactoring in QEMU made virtio-bus become the parent bus of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation, so redundant typename will be added to fw_dev_path. It causes that bootindex parameter of scsi device doesn't work. This patch changes qdev_get_fw_dev_pa

Re: [SeaBIOS] [PULL 0/2] chardev: fix "info chardev" output

2013-05-28 Thread Gerd Hoffmann
On 05/28/13 12:27, Gerd Hoffmann wrote: > Hi, > > Tiny series, first reverting the broken patch from Lei Li, > then fixing it for real. Oops, scratch that. Resent an old series due to 'git send-email 00*.patch' in the wrong directory. sorry, Gerd __

Re: [SeaBIOS] [Qemu-devel] [PATCH] boot: fix path pattern of scsi device

2013-05-28 Thread Amos Kong
On Tue, May 28, 2013 at 12:26:34PM +0200, Laszlo Ersek wrote: > On 05/28/13 10:06, Paolo Bonzini wrote: > > Il 28/05/2013 09:40, Amos Kong ha scritto: > >> bootindex parameter of scsi device doesn't work, it causes > >> by wrong pattern in seabios. > >> > >> qemu passes the following firmware dev_p

Re: [SeaBIOS] [PATCH] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 12:25, Amos Kong ha scritto: > Currently we add typename to fw_dev_path if virtio-bus > doesn't have get_fw_dev_path implementation, the fw_dev_path > passed to seabios is not expected, the typename is redundant. > It causes that bootindex parameter of scsi device doesn't work. > > T

[SeaBIOS] [PATCH 2/2] update seabios to release 1.7.2.2

2013-05-28 Thread Gerd Hoffmann
git shortlog from 1.7.2.1 Asias He (2): virtio-scsi: Pack struct virtio_scsi_{req_cmd,resp_cmd} virtio-scsi: Set _DRIVER_OK flag before scsi target scanning Kevin O'Connor (1): Cache boot-fail-wait to avoid romfile access after POST. Signed-off-by: Gerd Hoffmann --- pc-bios/b

[SeaBIOS] [PULL 0/2] update seabios to release 1.7.2.2

2013-05-28 Thread Gerd Hoffmann
Hi, This pull updates seabios to the 1.7.2.2 release tagged yesterday, bringing some fixes which unfortunaly missed the qemu 1.5 boat. please pull, Gerd The following changes since commit 6a4e17711442849bf2cc731ccddef5a2a2d92d29: Remove Sun4c, Sun4d and a few CPUs (2013-05-26 11:37:58 +00

[SeaBIOS] [PATCH 1/2] Revert "roms: switch oldnoconfig to olddefconfig"

2013-05-28 Thread Gerd Hoffmann
This reverts commit a5519b42cfd6c00e9f8b31c5aad7682e7a9f1181. Breaks "make bios" in roms/ as the kconfig version in seabios doesn't support olddefconfig. Must have been be totally untested. Signed-off-by: Gerd Hoffmann --- roms/configure-seabios.sh |2 +- 1 file changed, 1 insertion(+), 1

[SeaBIOS] [PATCH 1/2] Revert "chardev: Get filename for new qapi backend"

2013-05-28 Thread Gerd Hoffmann
Does not handle chardevs created via chardev-add monitor command. This reverts commit 2b220025993e76d4116781ca91a4fabc5ad9c722. Signed-off-by: Gerd Hoffmann --- qemu-char.c |2 -- 1 file changed, 2 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index 4f8382e..f825294 100644 --- a/qemu

[SeaBIOS] [PULL 0/2] chardev: fix "info chardev" output

2013-05-28 Thread Gerd Hoffmann
Hi, Tiny series, first reverting the broken patch from Lei Li, then fixing it for real. please pull, Gerd The following changes since commit 6a4e17711442849bf2cc731ccddef5a2a2d92d29: Remove Sun4c, Sun4d and a few CPUs (2013-05-26 11:37:58 +) are available in the git repository at:

[SeaBIOS] [PATCH 2/2] chardev: fix "info chardev" output

2013-05-28 Thread Gerd Hoffmann
Fill unset CharDriverState->filename with the backend name, so 'info chardev' will return at least the chardev type. Don't touch it in case the chardev init function filled it already, like the socket+pty chardevs do for example. Signed-off-by: Gerd Hoffmann --- qemu-char.c |3 +++ 1 file c

[SeaBIOS] [PATCH] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Amos Kong
Currently we add typename to fw_dev_path if virtio-bus doesn't have get_fw_dev_path implementation, the fw_dev_path passed to seabios is not expected, the typename is redundant. It causes that bootindex parameter of scsi device doesn't work. This patch changes the qdev_get_fw_dev_path_helper() to

Re: [SeaBIOS] [Qemu-devel] [PATCH] boot: fix path pattern of scsi device

2013-05-28 Thread Laszlo Ersek
On 05/28/13 10:06, Paolo Bonzini wrote: > Il 28/05/2013 09:40, Amos Kong ha scritto: >> bootindex parameter of scsi device doesn't work, it causes >> by wrong pattern in seabios. >> >> qemu passes the following firmware dev_path to seabios: >> /pci@i0cf8/scsi@4/virtio-scsi-device/channel@0/disk@0,

Re: [SeaBIOS] [Qemu-devel] [PATCH] boot: fix path pattern of scsi device

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 11:35, Amos Kong ha scritto: > On Tue, May 28, 2013 at 10:06:51AM +0200, Paolo Bonzini wrote: >> Il 28/05/2013 09:40, Amos Kong ha scritto: >>> bootindex parameter of scsi device doesn't work, it causes >>> by wrong pattern in seabios. >>> >>> qemu passes the following firmware dev_pa

Re: [SeaBIOS] [Qemu-devel] [PATCH] boot: fix path pattern of scsi device

2013-05-28 Thread Amos Kong
On Tue, May 28, 2013 at 10:06:51AM +0200, Paolo Bonzini wrote: > Il 28/05/2013 09:40, Amos Kong ha scritto: > > bootindex parameter of scsi device doesn't work, it causes > > by wrong pattern in seabios. > > > > qemu passes the following firmware dev_path to seabios: > > /pci@i0cf8/scsi@4/virtio-

Re: [SeaBIOS] [PATCH] boot: fix path pattern of scsi device

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 09:40, Amos Kong ha scritto: > bootindex parameter of scsi device doesn't work, it causes > by wrong pattern in seabios. > > qemu passes the following firmware dev_path to seabios: > /pci@i0cf8/scsi@4/virtio-scsi-device/channel@0/disk@0,0 No, this is another unexpected change due t

[SeaBIOS] [PATCH] boot: fix path pattern of scsi device

2013-05-28 Thread Amos Kong
bootindex parameter of scsi device doesn't work, it causes by wrong pattern in seabios. qemu passes the following firmware dev_path to seabios: /pci@i0cf8/scsi@4/virtio-scsi-device/channel@0/disk@0,0 Signed-off-by: Amos Kong --- src/boot.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletion