mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
icount: Add align option to icount
The align option is used for activating the align algorithm in order to synchronise the host clock and the guest clock. Signed-off-by: Sebastian Tanase <sebastian.tanase@openwide.fr> Tested-by: Camille Bégué <camille.begue@openwide.fr> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
1ad9580bd7
commit
a8bfac3708
4 changed files with 30 additions and 9 deletions
4
vl.c
4
vl.c
|
@ -183,6 +183,7 @@ uint8_t *boot_splash_filedata;
|
|||
size_t boot_splash_filedata_size;
|
||||
uint8_t qemu_extra_params_fw[2];
|
||||
|
||||
int icount_align_option;
|
||||
typedef struct FWBootEntry FWBootEntry;
|
||||
|
||||
struct FWBootEntry {
|
||||
|
@ -546,6 +547,9 @@ static QemuOptsList qemu_icount_opts = {
|
|||
{
|
||||
.name = "shift",
|
||||
.type = QEMU_OPT_STRING,
|
||||
}, {
|
||||
.name = "align",
|
||||
.type = QEMU_OPT_BOOL,
|
||||
},
|
||||
{ /* end of list */ }
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue