====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
soc:2009:dverkamp:journal:week9 [2009/07/21 15:21] drv |
soc:2009:dverkamp:journal:week9 [2009/07/24 06:08] (current) drv |
||
---|---|---|---|
Line 32: | Line 32: | ||
In preparation for console read/write support in the QEMU driver, I switched the QEMU monitor interface over from using STDIN/STDOUT to a PTY. This will allow ''-curses'' to use the usual handles while the monitor is also in use. [[http://git.etherboot.org/?p=people/dverkamp/gpxe.git;a=shortlog;h=refs/heads/testsuite|git]] | In preparation for console read/write support in the QEMU driver, I switched the QEMU monitor interface over from using STDIN/STDOUT to a PTY. This will allow ''-curses'' to use the usual handles while the monitor is also in use. [[http://git.etherboot.org/?p=people/dverkamp/gpxe.git;a=shortlog;h=refs/heads/testsuite|git]] | ||
+ | |||
+ | ==== Wednesday, July 22 ==== | ||
+ | |||
+ | Attempt at writing a console() function for Machine::Qemu using the ''-curses'' option; first step in this, attaching an IO::Pty to the monitor interface, was completed yesterday. However, once the ''-curses'' option is added, the monitor PTY no longer gets the ''(qemu)'' prompt it expects. Some other methods (-nographic and -serial stdio) also attempted, but these don't do actual console redirection, only serial. | ||
+ | |||
+ | ==== Thursday, July 23 ==== | ||
+ | |||
+ | Set console() to the side for now; attempting to debug the snapshot DHCP server problems (the server snapshot starts up but the client does not get a DHCP reply). It seems that the snapshot generally works right after it is taken, but not after some time (generally several days) has passed. My new theory is that there is some problem with the system clock of the VM with the snapshot when it is started up later, causing the DHCP server to get confused, but I don't know how to diagnose that for sure. It is difficult to narrow down the conditions that reproduce the problem, but seemingly once a snapshot fails to work, it continues to fail on any further attempts. | ||