serial console support
cover serial console support
Hi,
Next round of serial console patches, Still not ready to merge.
Headline feature of this version is split mode (i.e. output on both vga and serial). Have a initial working implementation now, logic is simliar to the vgabios timer hook (as suggested by Kevin).
Also changed the output logic, down to a one-cell buffer (char+attr) for output. Cursor updates are simply written to BDA now, with the actual move being done lazily when printing the next character or checking for keyboard input. That is especially useful for splitmode as we can simply skip the cursor position updates and let the vgabios do them instead.
TODO list:
* compile time (CONFIG_*) option.
* input handling cleanups.
* implement missing int10h functions.
* more testing.
cheers,
Gerd
Gerd Hoffmann (5):
std: add cp437 to unicode map
kbd: make enqueue_key public, add ascii_to_keycode
paravirt: read QEMU_CFG_NOGRAPHIC, store in etc/sercon-enable romfile add serial console support
[wip] sercon: initial split-output implementation
Makefile | 7 +- src/clock.c | 1 + src/fw/paravirt.c | 2 + src/kbd.c | 17 +- src/misc.c | 2 + src/optionroms.c | 9 +- src/romlayout.S | 39 ++++ src/sercon.c | 621 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/std/cp437.c | 275 ++++++++++++++++++++++++ src/std/cp437.h | 1 + src/util.h | 5 + 11 files changed, 974 insertions(+), 5 deletions(-) create mode 100644 src/sercon.c create mode 100644 src/std/cp437.c create mode 100644 src/std/cp437.h
Signature · 1 line
1.8.3.1
PATCH 1/5 std: add cp437 to unicode map
--- Makefile | 5 +- src/std/cp437.c | 275 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/std/cp437.h | 1 + 3 files changed, 279 insertions(+), 2 deletions(-) create mode 100644 src/std/cp437.c create mode 100644 src/std/cp437.h
Makefile +3 -2
@@ -34,7 +34,8 @@ SRCBOTH=misc.c stacks.c output.c string.c block.c cdrom.c disk.c mouse.c kbd.c \ hw/usb.c hw/usb-uhci.c hw/usb-ohci.c hw/usb-ehci.c \ hw/usb-hid.c hw/usb-msc.c hw/usb-uas.c \ hw/blockcmd.c hw/floppy.c hw/ata.c hw/ramdisk.c \ - hw/lsi-scsi.c hw/esp-scsi.c hw/megasas.c hw/mpt-scsi.c + hw/lsi-scsi.c hw/esp-scsi.c hw/megasas.c hw/mpt-scsi.c \ + std/cp437.c SRC16=$(SRCBOTH) SRC32FLAT=$(SRCBOTH) post.c e820map.c malloc.c romfile.c x86.c optionroms.c \ pmm.c font.c boot.c bootsplash.c jpeg.c bmp.c tcgbios.c sha1.c \
@@ -45,7 +46,7 @@ SRC32FLAT=$(SRCBOTH) post.c e820map.c malloc.c romfile.c x86.c optionroms.c \ hw/virtio-ring.c hw/virtio-pci.c hw/virtio-blk.c hw/virtio-scsi.c \ hw/tpm_drivers.c SRC32SEG=string.c output.c pcibios.c apm.c stacks.c hw/pci.c hw/serialio.c -DIRS=src src/hw src/fw vgasrc +DIRS=src src/hw src/fw src/std vgasrc # Default compiler flags cc-option=$(shell if test -z "`$(1) $(2) -S -o /dev/null -xc /dev/null 2>&1`" \
src/std/cp437.c new file +275 -0
275 lines not on this page · raw message
src/std/cp437.h new file +1 -0
@@ -0,0 +1 @@ +u16 cp437_to_unicode (u8 cp437);
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [SeaBIOS] [PATCH 1/5] std: add cp437 to unicode map
Quoted 14 lines · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>--- Makefile | 5 +- src/std/cp437.c | 275 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/std/cp437.h | 1 + 3 files changed, 279 insertions(+), 2 deletions(-) create mode 100644 src/std/cp437.c create mode 100644 src/std/cp437.hMakefile +0
-0
Makefile SRCBOTH=misc.c stacks.c output.c string.c block.c cdrom.c disk.c mouse.c kbd.c \ · line 38
Quoted 6 lines
Makefile +2
-1@@ -34,7 +34,8 @@ SRCBOTH=misc.c stacks.c output.c string.c block.c cdrom.c disk.c mouse.c kbd.c \ hw/usb.c hw/usb-uhci.c hw/usb-ohci.c hw/usb-ehci.c \ hw/usb-hid.c hw/usb-msc.c hw/usb-uas.c \ hw/blockcmd.c hw/floppy.c hw/ata.c hw/ramdisk.c \ - hw/lsi-scsi.c hw/esp-scsi.c hw/megasas.c hw/mpt-scsi.c + hw/lsi-scsi.c hw/esp-scsi.c hw/megasas.c hw/mpt-scsi.c \ + std/cp437.c
Lets put this file in src/ instead of src/std/. (I think of std/ as a location for published BIOS interface standards.)
Otherwise, looks good.
-Kevin
PATCH 2/5 kbd: make enqueue_key public, add ascii_to_keycode
In reply to Gerd Hoffmann--- src/kbd.c | 17 ++++++++++++++++- src/util.h | 2 ++ 2 files changed, 18 insertions(+), 1 deletion(-)
src/kbd.c +16 -1
@@ -51,7 +51,7 @@ kbd_init(void) , x + FIELD_SIZEOF(struct bios_data_area_s, kbd_buf)); } -static u8 +u8 enqueue_key (u16 keycode) {u16 buffer_start =GET_BDA (kbd_buf_start_offset);
@@ -376,6 +376,21 @@ static struct scaninfo { { 0x8600, 0x8800, 0x8a00, 0x8c00 }, /* F12 */ }; +u16 ascii_to_keycode (u8 ascii) +{ +int i; + +for (i =0 ; i <ARRAY_SIZE (scan_to_keycode); i++) { +if ((GET_GLOBAL (scan_to_keycode[i].normal) &0xff ) == ascii) +return GET_GLOBAL (scan_to_keycode[i].normal); +if ((GET_GLOBAL (scan_to_keycode[i].shift) &0xff ) == ascii) +return GET_GLOBAL (scan_to_keycode[i].shift); +if ((GET_GLOBAL (scan_to_keycode[i].control) &0xff ) == ascii) +return GET_GLOBAL (scan_to_keycode[i].control); + } +return 0 ; +} +// Handle a ps2 style scancode read from the keyboard. static void __process_key (u8 scancode)
src/util.h +2 -0
@@ -185,6 +185,8 @@ int jpeg_show(struct jpeg_decdata *jpeg, unsigned char *pic, int widthvoid kbd_init (void );void handle_15c2 (struct bregs *regs);void process_key (u8 key); +u8 enqueue_key (u16 keycode); +u16 ascii_to_keycode (u8 ascii);// misc.c extern int HaveRunPost;
Signature · 1 line
1.8.3.1
PATCH 3/5 paravirt: read QEMU_CFG_NOGRAPHIC, store in etc/sercon-enable romfile
In reply to Gerd Hoffmann--- src/fw/paravirt.c | 2 ++ 1 file changed, 2 insertions(+)
src/fw/paravirt.c +2 -0
@@ -201,6 +201,7 @@ qemu_platform_setup(void)#define QEMU_CFG_SIGNATURE 0x00#define QEMU_CFG_ID 0x01#define QEMU_CFG_UUID 0x02 +#define QEMU_CFG_NOGRAPHIC 0x04#define QEMU_CFG_NUMA 0x0d#define QEMU_CFG_BOOT_MENU 0x0e#define QEMU_CFG_MAX_CPUS 0x0f
@@ -418,6 +419,7 @@ qemu_cfg_legacy(void)qemu_romfile_add ("etc/show-boot-menu" ,QEMU_CFG_BOOT_MENU ,0 ,2 );qemu_romfile_add ("etc/irq0-override" ,QEMU_CFG_IRQ0_OVERRIDE ,0 ,1 );qemu_romfile_add ("etc/max-cpus" ,QEMU_CFG_MAX_CPUS ,0 ,2 ); +qemu_romfile_add ("etc/sercon-enable" ,QEMU_CFG_NOGRAPHIC ,0 ,2 );// NUMA data u64 numacount;
Signature · 1 line
1.8.3.1
PATCH 4/5 add serial console support
In reply to Gerd Hoffmann--- Makefile | 2 +- src/clock.c | 1 + src/misc.c | 2 + src/optionroms.c | 7 +- src/sercon.c | 580 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/util.h | 3 + 6 files changed, 593 insertions(+), 2 deletions(-) create mode 100644 src/sercon.c
Makefile +1 -1
@@ -29,7 +29,7 @@ LD32BIT_FLAG:=-melf_i386 # Source files SRCBOTH=misc.c stacks.c output.c string.c block.c cdrom.c disk.c mouse.c kbd.c \ - system.c serial.c clock.c resume.c pnpbios.c vgahooks.c pcibios.c apm.c \ + system.c serial.c sercon.c clock.c resume.c pnpbios.c vgahooks.c pcibios.c apm.c \ hw/pci.c hw/timer.c hw/rtc.c hw/dma.c hw/pic.c hw/ps2port.c hw/serialio.c \ hw/usb.c hw/usb-uhci.c hw/usb-ohci.c hw/usb-ehci.c \ hw/usb-hid.c hw/usb-msc.c hw/usb-uas.c \
src/clock.c +1 -0
@@ -295,6 +295,7 @@ clock_update(void)floppy_tick ();usb_check_event ();ps2_check_event (); +sercon_check_event (); }// INT 08h System Timer ISR Entry Point
src/misc.c +2 -0
@@ -11,6 +11,7 @@#include "output.h" // debug_enter #include "stacks.h" // call16_int #include "string.h" // memset +#include "util.h" // serial_10 #define PORT_MATH_CLEAR 0x00f0
@@ -57,6 +58,7 @@ handle_10(struct bregs *regs) {debug_enter (regs,DEBUG_HDL_10 );// don't do anything, since the VGA BIOS handles int10h requests +sercon_10 (regs); }// NMI handler
src/optionroms.c +6 -1
@@ -432,9 +432,14 @@ vgarom_setup(void)run_file_roms ("vgaroms/" ,1 ,NULL );rom_reserve (0 ); -if (rom_get_last () ==BUILD_ROM_START ) +if (rom_get_last () ==BUILD_ROM_START ) {// No VGA rom found +if (romfile_loadint ("etc/sercon-enable" ,0 )) { +sercon_enable (); +enable_vga_console (); + }return ; + } VgaROM = (void *)BUILD_ROM_START ;enable_vga_console ();
src/sercon.c new file +580 -0
580 lines not on this page · raw message
src/util.h +3 -0
@@ -233,6 +233,9 @@ void code_mutable_preinit(void);// serial.c void serial_setup (void );void lpt_setup (void ); +void sercon_10 (struct bregs *regs); +void sercon_enable (void ); +void sercon_check_event (void );// vgahooks.c void handle_155f (struct bregs *regs);
Signature · 1 line
1.8.3.1
PATCH 5/5 sercon: initial split-output implementation
In reply to Gerd Hoffmann--- src/optionroms.c | 2 ++ src/romlayout.S | 39 ++++++++++++++++++++++ src/sercon.c | 99 +++++++++++++++++++++++++++++++++++++++----------------- 3 files changed, 111 insertions(+), 29 deletions(-)
src/optionroms.c +2 -0
@@ -442,6 +442,8 @@ vgarom_setup(void) } VgaROM = (void *)BUILD_ROM_START ; +if (romfile_loadint ("etc/sercon-enable" ,0 )) +sercon_enable ();enable_vga_console (); }
src/romlayout.S +39 -0
@@ -522,6 +522,45 @@ irqentry_arg: DECL_IRQ_ENTRY hwpic1 DECL_IRQ_ENTRY hwpic2 + // hooked int10, for sercon + DECLFUNC entry_10_hooked +entry_10_hooked: + pushl $ handle_10 +#if CONFIG_ENTRY_EXTRASTACK + // FIXME: too much cut+paste + cli + cld + pushw %ds // Set %ds:%eax to space on ExtraStack + pushl %eax + movl $_zonelow_seg, %eax + movl %eax, %ds + movl StackPos, %eax + subl $PUSHBREGS_size+16, %eax + SAVEBREGS_POP_DSEAX // Save registers on extra stack + popl %ecx + movl %esp, PUSHBREGS_size+8(%eax) + movw %ss, PUSHBREGS_size+12(%eax) + popl BREGS_code(%eax) + popw BREGS_flags(%eax) + + movw %ds, %dx // Setup %ss/%esp and call function + movw %dx, %ss + movl %eax, %esp + calll *%ecx + + movl %esp, %eax // Restore registers and return + movw PUSHBREGS_size+12(%eax), %ss + movl PUSHBREGS_size+8(%eax), %esp + popl %edx + popw %dx + pushw BREGS_flags(%eax) + pushl BREGS_code(%eax) + RESTOREBREGS_DSEAX + ljmpw *%cs:sercon_int10_hook_resume +#else +#error FIXME: CONFIG_ENTRY_EXTRASTACK=n not supported yet +#endif + // int 18/19 are special - they reset stack and call into 32bit mode. DECLFUNC entry_19 entry_19:
src/sercon.c +70 -29
199 lines not on this page · raw message
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [SeaBIOS] [PATCH 5/5] [wip] sercon: initial split-output implementation
Quoted 12 lines · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>--- src/optionroms.c | 2 ++ src/romlayout.S | 39 ++++++++++++++++++++++ src/sercon.c | 99 +++++++++++++++++++++++++++++++++++++++----------------- 3 files changed, 111 insertions(+), 29 deletions(-)src/optionroms.c +0
-0
src/optionroms.c vgarom_setup(void) · line 446
Quoted 5 lines
src/optionroms.c +2
-0@@ -442,6 +442,8 @@ vgarom_setup(void) } VgaROM = (void *)BUILD_ROM_START ; +if (romfile_loadint ("etc/sercon-enable" ,0 )) +sercon_enable ();
Minor nit, but why not unconditionally call sercon_enable() and let sercon_enable() check romfile_loadint().
[...]
src/romlayout.S irqentry_arg: · line 530
Quoted 12 lines
src/romlayout.S +6
-0@@ -522,6 +522,45 @@ irqentry_arg: DECL_IRQ_ENTRY hwpic1 DECL_IRQ_ENTRY hwpic2 + // hooked int10, for sercon + DECLFUNC entry_10_hooked +entry_10_hooked: + pushl $ handle_10 +#if CONFIG_ENTRY_EXTRASTACK + // FIXME: too much cut+paste
I'm okay with the cut-and-paste. But, another option would be to use the iretw at the end of the existing irqentry_extrastack to implement the ljmpw into the main vgabios. Something like (totally untested):
entry_10_hooked:
pushfw // Setup for iretw in irqentry_arg
pushl %cs:sercon_int10_hook_resume
pushl $handle_10
#if CONFIG_ENTRY_EXTRASTACK
jmp irqentry_arg_extrastack
#else
jmp irqentry_arg
#endif
Separately, have you considered choosing a separate entry point for entry_10_hooked. That is, changing the above pushl to $handle_sercon_hooked and introducing that function in sercon.c. It seems it would reduce a number of "if (!sercon_splitmode())" checks in the main code, as handle_sercon_hooked() could just use a smaller switch statement and ignore requests it doesn't need to support.
Finally, one high level observation is that we know there are a number of quirks in various vgabios emulators. For example, we know some emulators don't handle certain 32bit instructions when in 16bit mode (hence scripts/vgafixup.py), we know some versions of Windows use an emulator that doesn't like some stack relative instructions (hence the vgabios is compiled without -fomit-frame-pointer), and we know Windows Vista doesn't like the extra stack in high ram (the skifree bug). Any thoughts on what happens with these quirks if the main seabios code hooks int10?
-Kevin
Re: [Qemu-devel] [SeaBIOS] [PATCH 5/5] [wip] sercon: initial split-output implementation
Hi,
Quoted 8 lines
I'm okay with the cut-and-paste. But, another option would be to use the iretw at the end of the existing
irqentry_extrastackto implement the ljmpw into the main vgabios. Something like (totally untested):
entry_10_hooked:
pushfw // Setup for iretw inirqentry_arg
pushl %cs:sercon_int10_hook_resume
Quoted 6 lines
pushl $handle_10
#ifCONFIG_ENTRY_EXTRASTACK
jmpirqentry_arg_extrastack
#else
jmpirqentry_arg
#endif
Good idea, I'll try it.
Quoted 6 lines
Separately, have you considered choosing a separate entry point for
entry_10_hooked. That is, changing the above pushl to $handle_sercon_hooked and introducing that function insercon.c. It seems it would reduce a number of "if (!sercon_splitmode())" checks in the main code, ashandle_sercon_hooked()could just use a smaller switch statement and ignore requests it doesn't need to support.
Makes sense indeed. All functions which only return information are not needed in the splitmode case.
Quoted 9 lines
Finally, one high level observation is that we know there are a number of quirks in various vgabios emulators. For example, we know some emulators don't handle certain 32bit instructions when in 16bit mode (hence
scripts/vgafixup.py), we know some versions of Windows use an emulator that doesn't like some stack relative instructions (hence the vgabios is compiled without -fomit-frame-pointer), and we know Windows Vista doesn't like the extra stack in high ram (the skifree bug). Any thoughts on what happens with these quirks if the main seabios code hooks int10?
Good question. Do the emulators (both win, xorg) use the int10 vector set by seabios in the first place? Or go they load the vgabios and run it, including the initialization, and use whatever entry point the init code sets up? I suspect it is the latter. But needs investigation and testing.
/me places the item on the todo list.
Also a serial console for windows guests isn't that useful, so I wouldn't worry too much about windows emulator issues.
cheers,
Gerd
Re: [Qemu-devel] [SeaBIOS] [PATCH 5/5] [wip] sercon: initial split-output implementation
Quoted 10 lines · Gerd Hoffmann
Quoted 9 lines
Finally, one high level observation is that we know there are a number of quirks in various vgabios emulators. For example, we know some emulators don't handle certain 32bit instructions when in 16bit mode (hence
scripts/vgafixup.py), we know some versions of Windows use an emulator that doesn't like some stack relative instructions (hence the vgabios is compiled without -fomit-frame-pointer), and we know Windows Vista doesn't like the extra stack in high ram (the skifree bug). Any thoughts on what happens with these quirks if the main seabios code hooks int10?
Quoted 5 lines
Good question. Do the emulators (both win, xorg) use the int10 vector set by seabios in the first place? Or go they load the vgabios and run it, including the initialization, and use whatever entry point the init code sets up? I suspect it is the latter. But needs investigation and testing.
I think they just call the existing int10 handler. In general, it's not safe to rerun the vga init code. Also, if they did run the init it would lead to extra copies of the SeaVGABIOS version banners in the debug logs, which I don't recall seeing.
Quoted 2 lines
Also a serial console for windows guests isn't that useful, so I wouldn't worry too much about windows emulator issues.
It's not uncommon (at least on real hardware) to add sgabios to a system for the boot menus, but then use a regular OS at runtime. The problem with the vga emulation quirks is that they often result in mysterious system failures.
Have you considered implementing the serial support as a kind of "serial seavgabios" instead of directly in seabios? That would have the advantage of pulling in all the existing vgabios quirk handling.
-Kevin
Re: [Qemu-devel] [SeaBIOS] [PATCH 5/5] [wip] sercon: initial split-output implementation
Hi,
Short status update: Project isn't dead. But I'm busy with other stuff and that will not change in August due to holiday season and kvm forum, so don't expect new patches from me before September.
For anyone who wants play with this: Pushed my current devel branch to
https://www.kraxel.org/cgit/seabios/log/?h=serial (basically the most recent patch series with some not-yet squashed incremental fixes on top).
Quoted 3 lines
Have you considered implementing the serial support as a kind of "serial seavgabios" instead of directly in seabios? That would have the advantage of pulling in all the existing vgabios quirk handling.
Indeed, didn't consider that yet.
Briefly looked at this a while back, figured doing this as "serial seavgabios" would allow the reuse of some vgabios code. On the other hand the keyboard handling is easier to do directly in seabios: can queue key events using internal seabios interfaces, no need to hook timer irq (or better serial irq?).
I've noticed you've cleaned up vgabios a bit, possibly with the intention to make implementing a serial seavgabios easier? In case you want give it a try: Feel free to grab my branch and run with it.
cheers,
Gerd
Re: [Qemu-devel] [SeaBIOS] [PATCH 5/5] [wip] sercon: initial split-output implementation
In reply to Kevin O'ConnorQuoted 17 lines · Kevin O'Connor
Quoted 10 lines · Gerd Hoffmann
Quoted 9 lines
Finally, one high level observation is that we know there are a number of quirks in various vgabios emulators. For example, we know some emulators don't handle certain 32bit instructions when in 16bit mode (hence
scripts/vgafixup.py), we know some versions of Windows use an emulator that doesn't like some stack relative instructions (hence the vgabios is compiled without -fomit-frame-pointer), and we know Windows Vista doesn't like the extra stack in high ram (the skifree bug). Any thoughts on what happens with these quirks if the main seabios code hooks int10?Quoted 5 lines
Good question. Do the emulators (both win, xorg) use the int10 vector set by seabios in the first place? Or go they load the vgabios and run it, including the initialization, and use whatever entry point the init code sets up? I suspect it is the latter. But needs investigation and testing.
Quoted 4 lines
I think they just call the existing int10 handler. In general, it's not safe to rerun the vga init code. Also, if they did run the init it would lead to extra copies of the SeaVGABIOS version banners in the debug logs, which I don't recall seeing.
Finally found the time to continue with this and ran a bunch of tests. RHEL-5 (known to be affected by x86emu issue) continues to work fine. Xorg server log looks like it goes scan memory for the vgabios instead of depending on the int10 vector:
(II) VESA(0): initializing int10
(II) VESA(0): Primary V_BIOS segment is: 0xc000 (II) VESA(0): VESA BIOS detected
(II) VESA(0): VESA VBE Version 3.0
(II) VESA(0): VESA VBE Total Mem: 16384 kB (II) VESA(0): VESA VBE OEM: SeaBIOS VBE(C) 2011 (II) VESA(0): VESA VBE OEM Software Rev: 0.0 (II) VESA(0): VESA VBE OEM Vendor: SeaBIOS Developers (II) VESA(0): VESA VBE OEM Product: SeaBIOS VBE Adapter (II) VESA(0): VESA VBE OEM Product Rev: Rev. 1
Running tests with win7 doesn't show any problems too, so I suspect they are basically doing the same.
Given these results I think I'll stick to the current approach of integrating this directly into seabios (instead of creating a sgabios-like rom using the seavgabios sources).
cheers,
Gerd
Re: [Qemu-devel] [SeaBIOS] [PATCH 5/5] [wip] sercon: initial split-output implementation
Quoted 23 lines · Gerd Hoffmann
Quoted 17 lines · Kevin O'Connor
Quoted 10 lines · Gerd Hoffmann
Quoted 9 lines
Finally, one high level observation is that we know there are a number of quirks in various vgabios emulators. For example, we know some emulators don't handle certain 32bit instructions when in 16bit mode (hence
scripts/vgafixup.py), we know some versions of Windows use an emulator that doesn't like some stack relative instructions (hence the vgabios is compiled without -fomit-frame-pointer), and we know Windows Vista doesn't like the extra stack in high ram (the skifree bug). Any thoughts on what happens with these quirks if the main seabios code hooks int10?Quoted 5 lines
Good question. Do the emulators (both win, xorg) use the int10 vector set by seabios in the first place? Or go they load the vgabios and run it, including the initialization, and use whatever entry point the init code sets up? I suspect it is the latter. But needs investigation and testing.
Quoted 4 lines
I think they just call the existing int10 handler. In general, it's not safe to rerun the vga init code. Also, if they did run the init it would lead to extra copies of the SeaVGABIOS version banners in the debug logs, which I don't recall seeing.
Quoted 4 lines
Finally found the time to continue with this and ran a bunch of tests. RHEL-5 (known to be affected by x86emu issue) continues to work fine. Xorg server log looks like it goes scan memory for the vgabios instead of depending on the int10 vector:
Interesting. I'm curious how the memory scan works, because I didn't think there was any way to find the vga entry point except from the int10 vector.
Were you looking to include this series in SeaBIOS v1.10? We can either delay the release or push the changes into the next release. Also not sure where Igor's patches stand wrt inclusion into QEMU.
-Kevin
Re: [Qemu-devel] [SeaBIOS] [PATCH 5/5] [wip] sercon: initial split-output implementation
Hi,
Quoted 3 lines
Interesting. I'm curious how the memory scan works, because I didn't think there was any way to find the vga entry point except from the int10 vector.
Run the init code in emulator?
Quoted 2 lines
Were you looking to include this series in SeaBIOS v1.10? We can either delay the release or push the changes into the next release.
1.10 release in october would be great for qemu as freeze for the 2.8 release is november 1st. That doesn't leave much room to delay things ...
I think that means either merge the current sercon version (posted to the list last Wednesday, have you looked at it?) for 1.10 or move it into the next release.
Quoted 1 line
Also not sure where Igor's patches stand wrt inclusion into QEMU.
Good question. It isn't yet in the qemu master branch. Igor? Do you have a status update?
cheers,
Gerd
Re: [Qemu-devel] [SeaBIOS] [PATCH 5/5] [wip] sercon: initial split-output implementation
Quoted 15 lines · On Tue, 04 Oct 2016 10:49:41 +0200 Gerd Hoffmann <[email protected]> wrote:
Hi,
Quoted 3 lines
Interesting. I'm curious how the memory scan works, because I didn't think there was any way to find the vga entry point except from the int10 vector.
Run the init code in emulator?
Quoted 2 lines
Were you looking to include this series in SeaBIOS v1.10? We can either delay the release or push the changes into the next release.
1.10 release in october would be great for qemu as freeze for the 2.8 release is november 1st. That doesn't leave much room to delay things ...
Quoted 8 lines
I think that means either merge the current sercon version (posted to the list last Wednesday, have you looked at it?) for 1.10 or move it into the next release.
Quoted 1 line
Also not sure where Igor's patches stand wrt inclusion into QEMU.
Good question. It isn't yet in the qemu master branch. Igor? Do you have a status update?
So far plan is merge it into QEMU 2.8.
I've amended QEMU counterpart according to Radim's and Paolo's reviews
and plan to respin it soon.
It will depend on Radim's https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg08292.html
though, so my series will be merged after that
Quoted 4 lines
cheers,
Gerd
Re: [Qemu-devel] [SeaBIOS] [PATCH 5/5] [wip] sercon: initial split-output implementation
Hi,
Quoted 3 lines
So far plan is merge it into QEMU 2.8.
I've amended QEMU counterpart according to Radim's and Paolo's reviews and plan to respin it soon.
No respin yet on the list it seems. What is the status? Do you wait
for Radim's patches land upstream first? Can you cc me if you post it?
Quoted 2 lines
It will depend on Radim's https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg08292.html
though, so my series will be merged after that
That series is at v5 now and seems to be ready for merge, even though it didn't land in master yet.
cheers,
Gerd
Re: [Qemu-devel] [SeaBIOS] [PATCH 5/5] [wip] sercon: initial split-output implementation
Quoted 8 lines · On Thu, 13 Oct 2016 09:17:51 +0200 Gerd Hoffmann <[email protected]> wrote:
Hi,
Quoted 3 lines
So far plan is merge it into QEMU 2.8.
I've amended QEMU counterpart according to Radim's and Paolo's reviews and plan to respin it soon.No respin yet on the list it seems. What is the status? Do you wait
for Radim's patches land upstream first?
yep, I'm was waiting on Radim's patches to be ready first.
By now they all have been reviewed and I don't expect to any changes in them. So I'll respin v3 todayish as well as v6 of this series.
Quoted 1 line
Can you cc me if you post it?
sure
Quoted 10 lines
Quoted 3 lines
It will depend on Radim's https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg08292.html
though, so my series will be merged after thatThat series is at v5 now and seems to be ready for merge, even though it didn't land in master yet.
cheers,
Gerd