All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 847638] [NEW] screendump broken for text mode
@ 2011-09-12  8:12 Avg
  2012-07-10 11:41 ` [Qemu-devel] [Bug 847638] " Cole Robinson
  0 siblings, 1 reply; 2+ messages in thread
From: Avg @ 2011-09-12  8:12 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I use Qemu 0.15.0 (via a FreeBSD qemu-devel-0.15.0 port) and observe the following
problem with the screendump command.

Environment:
- qemu started with a standard vga adapter emulation (not sure if this important)
- SDL interface is used (not sure if this important)
- guest operating system uses the text mode
- monitor console is activated with Ctrl+Alt+2
- screendump command is executed in the monitor console

I observe the following effects in this case:
- contents of the guest screen is "dumped" over the monitoring console
- produced ppm file has only a single top-most line (of characters) from the guest
screen

It seems that the problem is caused in the vga_draw_text function in hw/vga.c.
The problem is that the dpy_update function is called for each line of text and
only the first of such calls produces the ppm output.

Perhaps in the case when full_update is true there should only be a single
dpy_update call for the whole screen.  I think that this should produce a complete
screen dump.  Not sure if that would help with the guest screen contents being
draw over the monitor console.

The code seems to be unchanged in the latest git version.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/847638

Title:
  screendump broken for text mode

Status in QEMU:
  New

Bug description:
  I use Qemu 0.15.0 (via a FreeBSD qemu-devel-0.15.0 port) and observe the following
  problem with the screendump command.

  Environment:
  - qemu started with a standard vga adapter emulation (not sure if this important)
  - SDL interface is used (not sure if this important)
  - guest operating system uses the text mode
  - monitor console is activated with Ctrl+Alt+2
  - screendump command is executed in the monitor console

  I observe the following effects in this case:
  - contents of the guest screen is "dumped" over the monitoring console
  - produced ppm file has only a single top-most line (of characters) from the guest
  screen

  It seems that the problem is caused in the vga_draw_text function in hw/vga.c.
  The problem is that the dpy_update function is called for each line of text and
  only the first of such calls produces the ppm output.

  Perhaps in the case when full_update is true there should only be a single
  dpy_update call for the whole screen.  I think that this should produce a complete
  screen dump.  Not sure if that would help with the guest screen contents being
  draw over the monitor console.

  The code seems to be unchanged in the latest git version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/847638/+subscriptions

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Qemu-devel] [Bug 847638] Re: screendump broken for text mode
  2011-09-12  8:12 [Qemu-devel] [Bug 847638] [NEW] screendump broken for text mode Avg
@ 2012-07-10 11:41 ` Cole Robinson
  0 siblings, 0 replies; 2+ messages in thread
From: Cole Robinson @ 2012-07-10 11:41 UTC (permalink / raw)
  To: qemu-devel

Should have been fixed by
http://git.qemu.org/?p=qemu.git;a=commit;h=2313e998d7bf55d02499ee162fb4558af4fbb3f5
soon after this report

** Changed in: qemu
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/847638

Title:
  screendump broken for text mode

Status in QEMU:
  Fix Released

Bug description:
  I use Qemu 0.15.0 (via a FreeBSD qemu-devel-0.15.0 port) and observe the following
  problem with the screendump command.

  Environment:
  - qemu started with a standard vga adapter emulation (not sure if this important)
  - SDL interface is used (not sure if this important)
  - guest operating system uses the text mode
  - monitor console is activated with Ctrl+Alt+2
  - screendump command is executed in the monitor console

  I observe the following effects in this case:
  - contents of the guest screen is "dumped" over the monitoring console
  - produced ppm file has only a single top-most line (of characters) from the guest
  screen

  It seems that the problem is caused in the vga_draw_text function in hw/vga.c.
  The problem is that the dpy_update function is called for each line of text and
  only the first of such calls produces the ppm output.

  Perhaps in the case when full_update is true there should only be a single
  dpy_update call for the whole screen.  I think that this should produce a complete
  screen dump.  Not sure if that would help with the guest screen contents being
  draw over the monitor console.

  The code seems to be unchanged in the latest git version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/847638/+subscriptions

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-10 11:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-12  8:12 [Qemu-devel] [Bug 847638] [NEW] screendump broken for text mode Avg
2012-07-10 11:41 ` [Qemu-devel] [Bug 847638] " Cole Robinson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.