From: Paolo Bonzini <pbonzini@redhat.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Keir Fraser <keir@xen.org>, xen-devel <xen-devel@lists.xen.org>
Subject: Re: revert commit e4fd0475 ("hvmloader: always include HPET table")
Date: Wed, 03 Jul 2013 14:07:36 +0200 [thread overview]
Message-ID: <51D41408.8070909@redhat.com> (raw)
In-Reply-To: <51D42F1502000078000E27AE@nat28.tlf.novell.com>
Il 03/07/2013 14:03, Jan Beulich ha scritto:
>>>> On 03.07.13 at 13:45, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> Il 03/07/2013 13:43, Jan Beulich ha scritto:
>>> Windows SVVP tests requiring a HPET ACPI table is in my opinion
>>> not a valid reason to always expose that table - respective tests
>>> should be run with "hpet=1" in the guest config file.
>>>
>>> The problem here is that at least with qemu-traditional, which
>>> by default doesn't appear to emulate a HPET,
>>
>> Isn't the HPET emulated in the hypervisor anyway?
>
> No:
>
> static int hpet_range(struct vcpu *v, unsigned long addr)
> {
> return (v->domain->arch.hvm_domain.params[HVM_PARAM_HPET_ENABLED] &&
> (addr >= HPET_BASE_ADDRESS) &&
> (addr < (HPET_BASE_ADDRESS + HPET_MMAP_SIZE)));
> }
Ah, I meant with hpet=1. Of course if hpet=0 qemu shouldn't emulate it
or should be told not to emulate it.
The idea of the patch was that anyway Device(HPET) is disabled in the
ACPI table if the hpet is disabled. But if old Linux guests cannot cope
with this, too bad...
Paolo
next prev parent reply other threads:[~2013-07-03 12:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-03 11:43 revert commit e4fd0475 ("hvmloader: always include HPET table") Jan Beulich
2013-07-03 11:45 ` Paolo Bonzini
2013-07-03 12:03 ` Jan Beulich
2013-07-03 12:07 ` Paolo Bonzini [this message]
2013-07-03 12:22 ` Jan Beulich
2013-07-08 10:05 ` Ping: " Jan Beulich
2013-07-08 10:39 ` Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51D41408.8070909@redhat.com \
--to=pbonzini@redhat.com \
--cc=JBeulich@suse.com \
--cc=keir@xen.org \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).