forked from open-power-host-os/qemu
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target-ppc: Handle additional bits in H_GET_CPU_CHARACTERISTICS
The hcall H_GET_CPU_CHARACTERISTICS is used by the guest to determine information about the required behaviours and available characteristics of the cpu. Bits may be added to this hcall, the information for which is queried from the hypervisor using the KVM_PPC_GET_CPU_CHAR ioctl. In order to handle the case where additional bits may be added to this hcall, and thus to the ioctl, relax the parsing in qemu so that there is minimal modification of the data before it is passed to the guest. Signed-off-by: Suraj Jitindar Singh <[email protected]> Signed-off-by: Ricardo M. Matinata <[email protected]>
- Loading branch information
1 parent
8188e66
commit 9e7dc71
Showing
3 changed files
with
28 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters