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

Kernel requires x86-64 CPU, after modifying arch_shared_info struct


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Ruh <jan.ruh@xxxxxxxxxx>
  • Date: Mon, 29 Jun 2020 07:43:43 +0000
  • Accept-language: de-DE, en-GB, en-US
  • Delivery-date: Mon, 29 Jun 2020 07:43:53 +0000
  • Ironport-sdr: Yw7sN+iHvdrIz5h4UG1DMyC2gXGNpLOxzQSz+5Bf2nf/yz8DBUQVfzKZXEKEbzH/wNTUCFkw14 R4pqTEDxPIpT1GeMK/ETE2lBJggDSou4JxQRI+LgmXC/ZaYGV2DGwUjUttn3LHD7m+2EWe7wBD dJZbYjPLYvfhi5b6CveRgmc13JGpyKUwhZD7GNjGXTIaPsVCeHBcqPql+jV2x8ZncbEYVhXEIR snTJyco5kA6Ak3CE9A2Pg6UGt5Fk0O2YDZfDkXfmb/hGm3Ff3XtL7lcxGYLQWFIPHiHY5NKkSP nok=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHWTehUS5L/6eMJQEyE2773H88H5A==
  • Thread-topic: Kernel requires x86-64 CPU, after modifying arch_shared_info struct

Hi Xen Dev Community,


I ran into an issue when implementing a prototype for a new paravirtualized clock for x86-64 hosts. I extended the arch_shared_info struct by 6 fields totaling at 36 bytes. I updated the xen-foreign/references.size to represent the new size of the arch_shared_info struct. The fields are correctly updated in Xen and I am also able to read the correct information stored from dom0. However, if I try to start a hvm VM with pvh extensions it does not boot telling me that "This kernel requires an x86-64 CPU, but only detected an i686 CPU.". I have rebuild my Linux domU kernel just as the dom0 kernel and everything should be compatible. To me this looks like Xen or libxc does some compatibility checks before booting up my HVM domU and decides to downgrade the detectable CPU due to some issue that I am not aware of. Do I miss something? Is my approach to extend the arch_shared_info wrong in the first place? I am really thankful for some advice or pointers what is happening here.


Best


Jan

CONFIDENTIALITY: The contents of this e-mail are confidential and intended only for the above addressee(s). If you are not the intended recipient, or the person responsible for delivering it to the intended recipient, copying or delivering it to anyone else or using it in any unauthorized manner is prohibited and may be unlawful. If you receive this e-mail by mistake, please notify the sender and the systems administrator at straymail@xxxxxxxxxx immediately.

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.