>>> On 13.08.15 at 12:48, <zhaoshengl...@huawei.com> wrote:
> On 2015/8/13 18:29, Christoffer Dall wrote:
>> However, what about for other resources?  Having code somewhere that
>> says "hide this random piece of hardware if you're Xen dom0" sounds
>> awful to me.  I know it's only the serial port right now, but still.
>> 
> It needs to modify MADT table according to dom0_max_vcpus and modify EFI
> MMAP table according to dom0_mem. And modify FADT table to set
> hypervisor_id as "XenVMM" to tell Dom0 that it runs on Xen hypervisor.

None of this should be required:

Unaltered MADT may (or should I say will) be needed to drive P- or
C-states.

UEFI memmap shouldn't be exposed to Dom0 at all.

Detecting running on Xen should (hopefully) be possible by other
means for Dom0.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to