mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 01:07:57 +00:00
HV: Reset physical core of lapic_pt vm when shutdown
The physical core of lapic_pt vm should be reset for security and correctness when shutdown the vm. Tracked-On: #2991 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -260,6 +260,7 @@ void load_cpu_state_data(void);
|
||||
void init_cpu_pre(uint16_t pcpu_id_args);
|
||||
void init_cpu_post(uint16_t pcpu_id);
|
||||
bool start_cpus(uint64_t mask);
|
||||
void wait_pcpus_offline(uint64_t mask);
|
||||
void stop_cpus(void);
|
||||
void wait_sync_change(uint64_t *sync, uint64_t wake_sync);
|
||||
|
||||
|
@@ -23,5 +23,7 @@
|
||||
#define ENODEV 19
|
||||
/** Indicates that argument is not valid. */
|
||||
#define EINVAL 22
|
||||
/** Indicates that timeout occurs. */
|
||||
#define ETIMEDOUT 110
|
||||
|
||||
#endif /* ERRNO_H */
|
||||
|
Reference in New Issue
Block a user