[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Lets you set the target system time at startup
From: |
Schiwed |
Subject: |
[Qemu-devel] [PATCH] Lets you set the target system time at startup |
Date: |
Sun, 8 Jan 2006 14:57:14 +0100 |
User-agent: |
KMail/1.8 |
Hello everybody,
I wrote a little patch, that lets you set the initial target system time at
startup
of qemu. I thought it might be interesting for others, too.
This patch gives you an additional command line option '-initialtime n' with n
being the
initial target system time in seconds since the unix epoch. The formm of the
argument as
seconds instead of a date and time in the form YYYY.MM.DD-HH:SS is probably
improvable, but it
was much easier to implement :-))) and on unix machines, at least, you have
the tools at hand
to easily convert any date and time to seconds, so I thohght I'd just leave it
in seconds
for the time being.
The patch also adds a section to the help text (the one you see with qemu -h)
and to the
man-page.
Oh, the patch is against version 0.8.0 but should be easily adjustable to
other versions, too.
Hope yall find it useful and thanks for the great software,
Volker
qemu-initialtime.patch.gz
Description: GNU Zip compressed data
qemu-initialtime.README
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] Lets you set the target system time at startup,
Schiwed <=