-
公开(公告)号:US20230133273A1
公开(公告)日:2023-05-04
申请号:US18146943
申请日:2022-12-27
Applicant: Huawei Technologies Co., Ltd.
Inventor: Haibin WANG , Zenghui YU , Jian MA
Abstract: Embodiments of the present disclosure disclose a computing device, and are applied to the field of computing devices. In the present disclosure, a virtual interrupt obtained by a host machine is mapped to a physical interrupt of a physical layer, and a virtual interrupt identifier corresponding to the physical interrupt is transferred to a virtual processor by using the physical layer. When a hardware layer transparently transmits the virtual interrupt identifier to the virtual processor, the virtual processor does not need to exit. This decreases a delay caused by exit of the virtual processor when software implements virtual interrupt routing.
-
公开(公告)号:US20220214907A1
公开(公告)日:2022-07-07
申请号:US17656699
申请日:2022-03-28
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Zhigang WANG , Yifei JIANG , Jian MA
Abstract: A virtual machine memory management method and device are provided. The method includes: identifying memory of a non-operating system of a virtual machine from total memory allocated to the virtual machine, where the total memory includes memory of the virtual machine and management memory of a hypervisor, and the memory of the virtual machine includes memory of an operating system of the virtual machine and the memory of the non-operating system of the virtual machine; using the memory of the non-operating system of the virtual machine as swappable memory; and storing data in the swappable memory into a nonvolatile memory. This method helps avoid a problem that computer performance significantly deteriorates in a virtual machine over-submission scenario, and improve stability in running of a virtual machine and users' use experience.
-