Re: [kvm-unit-tests PATCH 3/3] x86: Support environments without test-devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/07/19 19:45, Nadav Amit wrote:
>>> I know you are not “serious”, but I’ll use this opportunity for a small
>>> clarification. You do need to provide the real number of CPUs as otherwise
>>> things will fail. I do not use cpuid, as my machine, for example has two
>>> sockets. Decoding the ACPI tables is the right way, but I was too lazy to
>>> implement it.
>> What about the mptables, too?
> If you mean to reuse mptable.c from [1] or [2] - I can give it a shot. I am
> not about to write my own parser.

Sure.

Paolo

> [1] https://github.com/kernelslacker/x86info/blob/master/mptable.c
> [2] https://people.freebsd.org/~fsmp/SMP/mptable/mptable.c




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux