On Mon, 25 Apr 2016 17:04:41 +0100
"Richard W.M. Jones" wrote:
> From: Marc Marí
>
> This optionrom is based on linuxboot.S.
>
> Signed-off-by: Marc Marí
> Signed-off-by: Richard W.M. Jones
> ---
> .gitignore| 4 +
> hw
On Sun, 8 May 2016 20:22:53 +0200
Marc Marí wrote:
> On Mon, 25 Apr 2016 13:46:08 +0100
> Stefan Hajnoczi wrote:
>
> > Signed-off-by: Stefan Hajnoczi
> > ---
> > tests/libqos/virtio.c | 19 ++-
> > tests/libqos/virtio.h | 9 -
On Mon, 25 Apr 2016 13:46:08 +0100
Stefan Hajnoczi wrote:
> Signed-off-by: Stefan Hajnoczi
> ---
> tests/libqos/virtio.c | 19 ++-
> tests/libqos/virtio.h | 9 -
> tests/virtio-blk-test.c | 5 +++--
> 3 files changed, 13 insertions(+), 20 deletions(-)
>
> diff --g
On Fri, 22 Apr 2016 14:02:28 +0100
"Richard W.M. Jones" wrote:
> From: Marc Marí
>
> This optionrom is based on linuxboot.S.
>
> Signed-off-by: Marc Marí
> Signed-off-by: Richard W.M. Jones
> ---
> .gitignore| 4 +
> hw
On Mon, 4 Apr 2016 16:02:04 +0100
Stefan Hajnoczi wrote:
> On Fri, Apr 01, 2016 at 01:43:47PM +0100, Richard W.M. Jones wrote:
> > From: Marc Marí
> >
> > This optionrom is based on linuxboot.S.
> >
> > Signed-off-by: Marc Marí
> > Signed-off-by: Rich
El Tue, 02 Feb 2016 13:04:55 +0100
Gerd Hoffmann escribió:
> On Di, 2016-02-02 at 12:06 +0100, Gerd Hoffmann wrote:
> > Hi,
> >
> > > %.img: %.o
> > > - $(call quiet-command,$(LD) $(LDFLAGS_NOPIE) -Ttext 0 -e
> > > _start -s -o $@ $<," Building $(TARGET_DIR)$@")
> > > + $(call quiet-command,$
El Tue, 02 Feb 2016 12:06:27 +0100
Gerd Hoffmann escribió:
> Hi,
>
> > %.img: %.o
> > - $(call quiet-command,$(LD) $(LDFLAGS_NOPIE) -Ttext 0 -e
> > _start -s -o $@ $<," Building $(TARGET_DIR)$@")
> > + $(call quiet-command,$(LD) $(LDFLAGS_NOPIE) -m elf_i386
> > -Ttext 0 -e _start -s -o $@
n the configuration script.
Signed-off-by: Marc Marí
---
.gitignore| 4 +
hw/i386/pc.c | 9 +-
hw/nvram/fw_cfg.c | 2 +-
include/hw/nvram/fw_cfg.h | 1 +
pc-bios/optionrom/Makefile| 7 +-
pc-bios/opti
> When I first tried to compile this (on fc23), I got:
>
> In file included from /usr/include/features.h:389:0,
> from /usr/include/stdint.h:25,
> from
> /usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/stdint.h:9,
> from linuxboot_dma.c:62:
> /us
On Wed, 27 Jan 2016 19:14:54 -0500
"Kevin O'Connor" wrote:
> On Mon, Jan 25, 2016 at 02:17:48PM +0100, Marc Marí wrote:
> > This optionrom is based on linuxboot.S.
>
> Hi Marc,
>
> Out of curiousity, how does the timing with this option rom compare to
On Wed, 27 Jan 2016 12:17:27 -0500
"Kevin O'Connor" wrote:
> On Wed, Jan 27, 2016 at 05:57:28PM +0100, Marc Marí wrote:
> > On Wed, 27 Jan 2016 16:43:29 +
> > Stefan Hajnoczi wrote:
> >
> > > On Tue, Jan 26, 2016 at 12:26:12PM +0100, Gerd Hoff
On Wed, 27 Jan 2016 16:43:29 +
Stefan Hajnoczi wrote:
> On Tue, Jan 26, 2016 at 12:26:12PM +0100, Gerd Hoffmann wrote:
> > On Di, 2016-01-26 at 12:20 +0100, Marc Marí wrote:
> > > On Tue, 26 Jan 2016 11:11:54 +
> > > Stefan Hajnoczi wrote:
> > >
On Tue, 26 Jan 2016 11:11:54 +
Stefan Hajnoczi wrote:
> On Mon, Jan 25, 2016 at 02:17:48PM +0100, Marc Marí wrote:
> > +linuxboot_dma.img: linuxboot_dma.o
> > + $(call quiet-command,$(LD) $(LDFLAGS_NOPIE) -m elf_i386
> > -Ttext 0 -e _start -s -o $@ $<,
This optionrom is based on linuxboot.S.
Signed-off-by: Marc Marí
---
.gitignore| 4 +
hw/i386/pc.c | 9 +-
hw/nvram/fw_cfg.c | 2 +-
include/hw/nvram/fw_cfg.h | 1 +
pc-bios/optionrom/Makefile| 6 +-
pc-bios
On Mon, 18 Jan 2016 14:42:06 +
Stefan Hajnoczi wrote:
> On Mon, Jan 18, 2016 at 10:59:00AM +0100, Marc Marí wrote:
> > diff --git a/hw/i386/pc.c b/hw/i386/pc.c
> > index 459260b..00339fa 100644
> > --- a/hw/i386/pc.c
> > +++ b/hw/i386/pc.c
> > @@ -1007,8 +
This optionrom is based on linuxboot.S.
Signed-off-by: Marc Marí
---
.gitignore| 4 +
hw/i386/pc.c | 9 +-
hw/nvram/fw_cfg.c | 2 +-
include/hw/nvram/fw_cfg.h | 1 +
pc-bios/optionrom/Makefile| 8 +-
pc-bios
On Fri, 8 Jan 2016 16:54:07 +0100
Paolo Bonzini wrote:
>
>
> On 08/01/2016 15:58, Marc Marí wrote:
> >
> > +static inline uint16_t readw_addr32(const void *addr) {
> > +uint16_t val;
> > +asm("addr32 movw %1, %0" : "=r"(val)
This optionrom is based on linuxboot.S.
Signed-off-by: Marc Marí
---
.gitignore| 4 +
hw/i386/pc.c | 9 +-
hw/nvram/fw_cfg.c | 2 +-
include/hw/nvram/fw_cfg.h | 1 +
pc-bios/optionrom/Makefile| 8 +-
pc-bios
Hi
I was trying to debug some stuff in the bootloader and the optionrom,
and I found a bug with QEMU and GDB. In commit ca3e40e (a pull request
from Michael), I get this:
x86_64-softmmu/qemu-system-x86_64 --enable-kvm \
-kernel /boot/vmlinuz-4.1.7-200.fc22.x86_64 -s -S
qemu-system-x86_
On Mon, 16 Nov 2015 08:45:09 +0200
"Michael S. Tsirkin" wrote:
> On Mon, Nov 16, 2015 at 02:04:41AM +0100, Marc Marí wrote:
> > Hi
> >
> > I was trying to debug some stuff in the bootloader and the
> > optionrom, and I found a bug with QEMU and GDB. In co
> >>2.4 (as suggested by Eduardo)
> >>
> >>I appreciate any further comments and reviews. Hopefully we can make
> >>this palatable for upstream, modulo the lingering concerns about
> >>whether "QEMU0002" is ok to use as the value of _HID, which I'
On Fri, 23 Oct 2015 08:56:26 +0200
Gerd Hoffmann wrote:
> Hi,
>
> > One complication I thought of was that it might be tricky to deal
> > with the implications of allowing this DMA to specify any old
> > address to fill with fw_cfg data.
> >
> > So, for example, since Red Hat is working on SM
On Mon, 19 Oct 2015 17:17:12 +0200
Laszlo Ersek wrote:
> On 10/19/15 13:12, Peter Maydell wrote:
> > On 19 October 2015 at 10:17, Gerd Hoffmann
> > wrote:
> >> Hi,
> >>
> >> As promised last week I've picked up the fw_cfg patches which are
> >> ready to go, so here comes the pull request for t
On Mon, 19 Oct 2015 08:12:22 -0400
"Kevin O'Connor" wrote:
> On Mon, Oct 19, 2015 at 01:02:41PM +0100, Peter Maydell wrote:
> > On 19 October 2015 at 12:52, Kevin O'Connor
> > wrote:
> > > On Mon, Oct 19, 2015 at 12:12:34PM +0100, Peter Maydell wrote:
> > >> Windows fails to compile:
> > >> /hom
From: "Gabriel L. Somlo"
Document the behavior of fw_cfg_modify_iXX() for leak-less updating
of integer-type blobs.
Currently only fw_cfg_modify_i16() is coded, but 32- and 64-bit versions
may be added later if necessary..
Signed-off-by: Gabriel Somlo
Signed-off-by: Gerd Hoffmann
Reviewed-by:
From: Kevin O'Connor
Return a static signature ("QEMU CFG") if the guest does a read to the
DMA address io register.
Signed-off-by: Kevin O'Connor
Reviewed-by: Laszlo Ersek
Reviewed-by: Stefan Hajnoczi
---
docs/specs/fw_cfg.txt | 3 +++
hw/nvram/fw_cfg.c | 14 --
2 files cha
Enable the fw_cfg DMA interface for the ARM virt machine.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
Reviewed-by: Peter Maydell
Reviewed-by: Laszlo Ersek
---
hw/arm/virt.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/arm/v
Enable the fw_cfg DMA interface for all the x86 platforms.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
Reviewed-by: Laszlo Ersek
---
hw/i386/pc.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 92
Implement host-side of the FW CFG DMA interface both for x86 and ARM.
Based on Gerd Hoffman's initial implementation.
Gabriel L. Somlo (1):
fw_cfg: document fw_cfg_modify_iXX() update functions
Kevin O'Connor (1):
fw_cfg: Define a static signature to be returned on DMA port reads
Add fw_cfg DMA interface specification in the documentation.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
Reviewed-by: Peter Maydell
Reviewed-by: Laszlo Ersek
---
docs/specs/fw_cfg.txt | 65 +++
1 file change
Based on the specifications on docs/specs/fw_cfg.txt
This interface is an addon. The old interface can still be used as usual.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/arm/virt.c | 2 +-
hw/nvram/fw_cfg.c
Implementation of the FW CFG DMA interface.
When running a Linux guest on top of QEMU, using the -kernel option and with
fw_cfg DMA Linux boot support, this is the timing improvement for x86:
Original QEMU and SeaBIOS
QEMU startup time: .080
BIOS startup time: .060
Kernel setup time: .586
Total t
On Thu, 8 Oct 2015 10:07:34 +0100
Stefan Hajnoczi wrote:
> On Tue, Oct 06, 2015 at 03:53:33PM +0100, Peter Maydell wrote:
> > On 6 October 2015 at 15:44, Stefan Hajnoczi
> > wrote:
> > > On Thu, Oct 01, 2015 at 02:16:55PM +0200, Marc Marí wrote:
> > >&g
On Tue, 6 Oct 2015 10:29:25 -0400
"Kevin O'Connor" wrote:
> On Tue, Oct 06, 2015 at 09:30:18AM +0200, Laszlo Ersek wrote:
> > On 10/06/15 01:51, Kevin O'Connor wrote:
> > > Return a static signature ("QEMU CFG") if the guest does a read
> > > to the DMA address io register.
> > >
> > > Signed-of
On Tue, 6 Oct 2015 15:44:53 +0100
Stefan Hajnoczi wrote:
> On Thu, Oct 01, 2015 at 02:16:55PM +0200, Marc Marí wrote:
> > @@ -292,6 +307,119 @@ static void fw_cfg_data_mem_write(void
> > *opaque, hwaddr addr, } while (i);
> > }
> >
> > +static void
On Fri, 02 Oct 2015 10:16:26 +0200
Gerd Hoffmann wrote:
> Hi,
>
> > That's fine with me. Marc - I think qemu_vmlinux_setup() in SeaBIOS
> > with the following would work:
> >
> > void qemu_vmlinux_setup(void)
> > {
> > u32 kernel_size;
> > qemu_cfg_read_entry(&kernel_size, QEMU_CFG_K
On Thu, 1 Oct 2015 12:02:42 -0400
"Kevin O'Connor" wrote:
> On Thu, Oct 01, 2015 at 05:25:11PM +0200, Laszlo Ersek wrote:
> > On 10/01/15 14:16, Marc Marí wrote:
> > > Add an entry to the bootorder file with name "vmlinux".
> >
to shepherd it further.)
I'll continue with it, don't worry. Thanks for your comments.
Marc
>
> On 10/01/15 14:16, Marc Marí wrote:
> > Based on the specifications on docs/specs/fw_cfg.txt
> >
> > This interface is an addon. The old interface can still be us
Enable the fw_cfg DMA interface for the ARM virt machine.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
Reviewed-by: Peter Maydell
---
hw/arm/virt.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
Implement host-side of the FW CFG DMA interface both for x86 and ARM.
Based on Gerd Hoffman's initial implementation.
Gabriel L. Somlo (1):
fw_cfg: document fw_cfg_modify_iXX() update functions
Kevin O'Connor (1):
fw_cfg: Define a static signature to be returned on DMA port reads
Add fw_cfg DMA interface specification in the documentation.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
Reviewed-by: Peter Maydell
---
docs/specs/fw_cfg.txt | 65 +++
1 file changed, 61 insertions(+), 4 dele
Add an entry to the bootorder file with name "vmlinux".
Give this entry more priority than the romfile.
Signed-off-by: Marc Marí
---
hw/i386/pc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 81d93b4..c4c51f7 100644
--- a/hw
Enable the fw_cfg DMA interface for all the x86 platforms.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/i386/pc.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 461c128..81d93b4 100644
---
From: Kevin O'Connor
Return a static signature ("QEMU CFG") if the guest does a read to the
DMA address io register.
Signed-off-by: Kevin O'Connor
---
docs/specs/fw_cfg.txt | 4
hw/nvram/fw_cfg.c | 13 +++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/docs
Based on the specifications on docs/specs/fw_cfg.txt
This interface is an addon. The old interface can still be used as usual.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/arm/virt.c | 2 +-
hw/nvram/fw_cfg.c
From: "Gabriel L. Somlo"
Document the behavior of fw_cfg_modify_iXX() for leak-less updating
of integer-type blobs.
Currently only fw_cfg_modify_i16() is coded, but 32- and 64-bit versions
may be added later if necessary..
Signed-off-by: Gabriel Somlo
Signed-off-by: Gerd Hoffmann
Reviewed-by:
Implementation of the FW CFG DMA interface.
When running a Linux guest on top of QEMU, using the -kernel options, this
is the timing improvement for x86:
QEMU commit b2312c6 and SeaBIOS commit 423542e
QEMU startup time: .080
BIOS startup time: .060
Kernel setup time: .586
Total time: .726
QEMU w
On Mon, 21 Sep 2015 16:43:27 +0300
"Denis V. Lunev" wrote:
> On 09/08/2015 04:53 PM, Marc Marí wrote:
> > The current module infrastructure has been improved to enable
> > dynamic module loading.
> >
> > This reduces the load time for very simple guests. For
Ping!
Anyone has more comments for the next version?
Thanks
Marc
>On Tue, 8 Sep 2015 15:53:20 +0200
>Marc Marí wrote:
>
> The current module infrastructure has been improved to enable dynamic
> module loading.
>
> This reduces the load time for very simple gues
On Sat, 19 Sep 2015 01:10:46 +0200
Laszlo Ersek wrote:
> On 09/18/15 22:24, Marc Marí wrote:
> > On Fri, 18 Sep 2015 22:16:46 +0200
> > Laszlo Ersek wrote:
> >
> >> On 09/18/15 10:58, Marc Marí wrote:
> >>> Enable the fw_cfg DMA interface for the A
On Fri, 18 Sep 2015 22:16:46 +0200
Laszlo Ersek wrote:
> On 09/18/15 10:58, Marc Marí wrote:
> > Enable the fw_cfg DMA interface for the ARM virt machine.
> >
> > Based on Gerd Hoffman's initial implementation.
> >
> > Signed-off-by: Marc Marí
> >
On Fri, 18 Sep 2015 14:25:09 -0400
"Kevin O'Connor" wrote:
> On Fri, Sep 18, 2015 at 10:58:44AM +0200, Marc Marí wrote:
> > Implement host-side of the FW CFG DMA interface both for x86 and
> > ARM.
> >
> > Based on Gerd Hoffman's initial imple
Enable the fw_cfg DMA interface for all the x86 platforms.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/i386/pc.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 56aecce..6e02061 100644
Based on the specifications on docs/specs/fw_cfg.txt
This interface is an addon. The old interface can still be used as usual.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/arm/virt.c | 2 +-
hw/nvram/fw_cfg.c
Add fw_cfg DMA interface specification in the documentation.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
docs/specs/fw_cfg.txt | 65 +++
1 file changed, 61 insertions(+), 4 deletions(-)
diff --git a/docs/
Implement host-side of the FW CFG DMA interface both for x86 and ARM.
Based on Gerd Hoffman's initial implementation.
Gabriel L. Somlo (1):
fw_cfg: document fw_cfg_modify_iXX() update functions
Marc Marí (4):
fw_cfg DMA interface documentation
Implement fw_cfg DMA interface
E
Enable the fw_cfg DMA interface for the ARM virt machine.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/arm/virt.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 3568107..47f4ad3 100644
---
From: "Gabriel L. Somlo"
Document the behavior of fw_cfg_modify_iXX() for leak-less updating
of integer-type blobs.
Currently only fw_cfg_modify_i16() is coded, but 32- and 64-bit versions
may be added later if necessary..
Signed-off-by: Gabriel Somlo
Signed-off-by: Gerd Hoffmann
Reviewed-by:
Implementation of the FW CFG DMA interface.
When running a Linux guest on top of QEMU, using the -kernel options, this
is the timing improvement for x86:
QEMU commit 16a1b6e and SeaBIOS commit e4d2b8c
QEMU startup time: .080
BIOS startup time: .060
Kernel setup time: .586
Total time: .726
QEMU w
On Sun, 13 Sep 2015 13:28:24 -0400
"Gabriel L. Somlo" wrote:
> On Sun, Sep 13, 2015 at 12:51:53PM +0200, Marc Marí wrote:
> > On Sat, 12 Sep 2015 19:30:40 -0400
> > "Gabriel L. Somlo" wrote:
> >
> > > Move BIOS_CFG_IOPORT define from pc.c to
On Sat, 12 Sep 2015 19:30:40 -0400
"Gabriel L. Somlo" wrote:
> Move BIOS_CFG_IOPORT define from pc.c to pc.h, and rename
> it to FW_CFG_IO_BASE. Also, add FW_CFG_IO_SIZE define (set
> to 0x02, to cover the overlapping 16-bit control and 8-bit
> data ports).
>
> Signed-off-by: Gabriel Somlo
> --
On Wed, 9 Sep 2015 10:27:13 +0800
Fam Zheng wrote:
> On Tue, 09/08 15:53, Marc Marí wrote:
> > diff --git a/include/qemu/module_block.h
> > b/include/qemu/module_block.h deleted file mode 100644
> > index d725db8..000
> > --- a/include/qemu/module_block.h
> >
more modules (block or not block) should be easy, and will reduce
the load time even more.
Marc Marí (2):
Add dynamic module loading for block drivers
Add dynamic generation of module_block.h
.gitignore | 1 +
Makefile| 10 ++-
block.c
odule.
All the necessary module information is located in a new structure found in
include/qemu/module_block.h
Signed-off-by: Marc Marí
---
block.c | 70 +++
configure | 2 +-
include/qemu/module.h | 3 ++
include
To simplify the addition of new block modules, add a script that generates
include/qemu/module_block.h automatically from the modules' source code.
This script assumes that the QEMU coding style rules are followed.
Signed-off-by: Marc Marí
---
.gitignore | 1 +
Mak
On Thu, 3 Sep 2015 17:12:29 +0100
Stefan Hajnoczi wrote:
> On Mon, Aug 17, 2015 at 10:09:33AM +0200, Marc Marí wrote:
> > The current module infrastructure has been improved to enable
> > dynamic module loading.
> >
> > This reduces the load time for very simpl
On Thu, 3 Sep 2015 17:33:16 +0100
Stefan Hajnoczi wrote:
> On Mon, Aug 17, 2015 at 10:09:34AM +0200, Marc Marí wrote:
> > +static const struct {
> > +const char *format_name;
> > +const char *protocol_name;
> > +const char *library_name;
> > +
Add fw_cfg DMA interface specification in the documentation.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
docs/specs/fw_cfg.txt | 68 ---
1 file changed, 64 insertions(+), 4 deletions(-)
diff --git a/docs/
Based on the specifications on docs/specs/fw_cfg.txt
This interface is an addon. The old interface can still be used as usual.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/arm/virt.c | 2 +-
hw/nvram/fw_cfg.c
Enable the fw_cfg DMA interface for all the x86 platforms.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/i386/pc.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 9f2924e..c6dc84f 100644
From: "Gabriel L. Somlo"
Document the behavior of fw_cfg_modify_iXX() for leak-less updating
of integer-type blobs.
Currently only fw_cfg_modify_i16() is coded, but 32- and 64-bit versions
may be added later if necessary..
Signed-off-by: Gabriel Somlo
Signed-off-by: Gerd Hoffmann
Reviewed-by:
Enable the fw_cfg DMA interface for the ARM virt machine.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/arm/virt.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index b88c104..54d5f54 1
Implement host-side of the FW CFG DMA interface both for x86 and ARM.
Based on Gerd Hoffman's initial implementation.
Gabriel L. Somlo (1):
fw_cfg: document fw_cfg_modify_iXX() update functions
Marc Marí (4):
fw_cfg DMA interface documentation
Implement fw_cfg DMA interface
E
Implementation of the FW CFG DMA interface.
When running a Linux guest on top of QEMU, using the -kernel options, this
is the timing improvement for x86:
QEMU commit 090d0bf and SeaBIOS commit 2fc20dc
QEMU startup time: .078
BIOS startup time: .060
Kernel setup time: .578
Total time: .716
QEMU w
On Thu, 27 Aug 2015 10:23:32 +0100
"Daniel P. Berrange" wrote:
> On Mon, Aug 17, 2015 at 10:09:35AM +0200, Marc Marí wrote:
> > To simplify the addition of new block modules, add a script that
> > generates include/qemu/module_block.h automatically from the
On Thu, 27 Aug 2015 10:19:35 +0100
"Daniel P. Berrange" wrote:
> On Mon, Aug 17, 2015 at 10:09:34AM +0200, Marc Marí wrote:
> > Extend the current module interface to allow for block drivers to
> > be loaded dynamically on request.
> >
> > The only blo
Ping
>On Mon, 17 Aug 2015 10:09:33 +0200
>Marc Marí wrote:
>
> The current module infrastructure has been improved to enable dynamic
> module loading.
>
> This reduces the load time for very simple guests. For the following
> configuration (very loaded)
>
> ./c
To simplify the addition of new block modules, add a script that generates
include/qemu/module_block.h automatically from the modules' source code.
This script assumes that the QEMU coding style rules are followed.
Signed-off-by: Marc Marí
---
.gitignore | 1 +
Mak
more modules (block or not block) should be easy, and will reduce
the load time even more.
Marc Marí (2):
Add dynamic module loading for block drivers
Add dynamic generation of module_block.h
.gitignore | 1 +
Makefile| 10 ++-
block.c
odule.
All the necessary module information is located in a new structure found in
include/qemu/module_block.h
Signed-off-by: Marc Marí
---
block.c | 73 +++--
configure | 2 +-
include/qemu/module.h | 3 ++
include
On Thu, 6 Aug 2015 10:20:38 -0400
"Kevin O'Connor" wrote:
> On Thu, Aug 06, 2015 at 01:01:15PM +0200, Marc Marí wrote:
> > Add fw_cfg DMA interface specification in the documentation.
> >
> > Based on Gerd Hoffman's initial implementation.
> >
On Thu, 6 Aug 2015 23:32:50 +0200
Laszlo Ersek wrote:
> On 08/06/15 23:11, Marc Marí wrote:
> > On Thu, 6 Aug 2015 22:49:12 +0200
> > Laszlo Ersek wrote:
> >
> > [...]
> >
> >>> +static void fw_cfg_dma_mem_write(void *opaque, hwaddr addr,
> >
On Thu, 6 Aug 2015 11:30:43 -0400
"Kevin O'Connor" wrote:
> On Thu, Aug 06, 2015 at 02:37:45PM +0200, Marc Marí wrote:
> > On Thu, 6 Aug 2015 13:27:16 +0100
> > Stefan Hajnoczi wrote:
> >
> > > On Thu, Aug 6, 2015 at 12:00 PM, Marc Marí
> >
On Thu, 6 Aug 2015 22:49:12 +0200
Laszlo Ersek wrote:
[...]
> > +static void fw_cfg_dma_mem_write(void *opaque, hwaddr addr,
> > + uint64_t value, unsigned size)
> > +{
> > +FWCfgState *s = opaque;
> > +
> > +s->dma_addr = be64_to_cpu(value);
> > +fw_c
On Thu, 6 Aug 2015 10:47:21 -0400
"Kevin O'Connor" wrote:
> On Thu, Aug 06, 2015 at 01:01:16PM +0200, Marc Marí wrote:
> > Based on the specifications on docs/specs/fw_cfg.txt
> >
> > This interface is an addon. The old interface can still be used as
> >
On Thu, 6 Aug 2015 13:27:16 +0100
Stefan Hajnoczi wrote:
> On Thu, Aug 6, 2015 at 12:00 PM, Marc Marí wrote:
> > When running a Linux guest on top of QEMU, using the -kernel
> > options, this is the timing improvement for x86:
> >
> > QEMU commit 2be4f242b50a8 and
Enable the fw_cfg DMA interface for all the x86 platforms.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/i386/pc.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 7661ea9..e5ca805 100644
itial implementation.
Signed-off-by: Marc Marí
---
hw/arm/virt.c | 2 +-
hw/nvram/fw_cfg.c | 212 +++---
include/hw/nvram/fw_cfg.h | 12 ++-
3 files changed, 211 insertions(+), 15 deletions(-)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
Enable the fw_cfg DMA interface for the ARM virt machine.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/arm/virt.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 374660c..eaad274 1
Add fw_cfg DMA interface specification in the documentation.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
docs/specs/fw_cfg.txt | 42 --
1 file changed, 40 insertions(+), 2 deletions(-)
diff --git a/docs/specs/fw_cf
Implement host-side of the FW CFG DMA interface both for x86 and ARM.
Based on Gerd Hoffman's initial implementation.
Gabriel L. Somlo (1):
fw_cfg: document fw_cfg_modify_iXX() update functions
Marc Marí (4):
fw_cfg DMA interface documentation
Implement fw_cfg DMA interface
E
From: "Gabriel L. Somlo"
Document the behavior of fw_cfg_modify_iXX() for leak-less updating
of integer-type blobs.
Currently only fw_cfg_modify_i16() is coded, but 32- and 64-bit versions
may be added later if necessary..
Signed-off-by: Gabriel Somlo
Signed-off-by: Gerd Hoffmann
Reviewed-by:
Implementation of the FW CFG DMA interface.
When running a Linux guest on top of QEMU, using the -kernel options, this
is the timing improvement for x86:
QEMU commit 2be4f242b50a8 and SeaBIOS commit 908a58c1d5ff
QEMU startup time: .078
BIOS startup time: .060
Kernel setup time: .578
Total time: .
On Mon, 3 Aug 2015 17:24:57 +0800
Fam Zheng wrote:
> On Mon, 08/03 11:01, Marc Marí wrote:
> > Some profiling:
> >
> > A QEMU with this configuration:
> > ./configure --enable-sparse --enable-sdl --enable-gtk --enable-vte \
> > --enable-curses --enable-vnc -
On Mon, 3 Aug 2015 10:23:37 +0100
"Daniel P. Berrange" wrote:
> On Fri, Jul 31, 2015 at 05:45:42PM +0200, Marc Marí wrote:
> > Hi everyone
> >
> > I propose improving the current modular driver system for QEMU so it
> > can benefit everybody in speed and f
On Mon, 03 Aug 2015 10:24:56 +0100
Alex Bennée wrote:
>
> Marc Marí writes:
>
> > On Mon, 3 Aug 2015 16:22:34 +0800
> > Fam Zheng wrote:
> >
> >> On Mon, 08/03 09:52, Marc Marí wrote:
> >> > So any other ideas to reduce the library overhea
On Mon, 3 Aug 2015 16:22:34 +0800
Fam Zheng wrote:
> On Mon, 08/03 09:52, Marc Marí wrote:
> > So any other ideas to reduce the library overhead are appreciated.
>
> It would be interesting to see your profiling on the library loading
> overhead. For example, how much does it
On Mon, 3 Aug 2015 11:09:06 +0800
Fam Zheng wrote:
> On Fri, 07/31 17:45, Marc Marí wrote:
> > Hi everyone
> >
> > I propose improving the current modular driver system for QEMU so it
> > can benefit everybody in speed and flexibility. I'm looking for
> &g
Hi everyone
I propose improving the current modular driver system for QEMU so it
can benefit everybody in speed and flexibility. I'm looking for other
ideas, comments, critics, etc.
- Background -
In order to speed up QEMU, I'm looking at the high number of libraries
and dependencies that it load
On Thu, 23 Jul 2015 15:45:25 +0200
Laszlo Ersek wrote:
> On 07/23/15 15:35, Peter Maydell wrote:
> > On 23 July 2015 at 14:13, Laszlo Ersek wrote:
> >> On 07/22/15 19:18, Kevin O'Connor wrote:
> >>> Another possibility would be to place the new fw_cfg dma register
> >>> address into a named fw_c
1 - 100 of 336 matches
Mail list logo