mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-04 11:07:51 +00:00
DM: remove unused function vm_apicid2vcpu
Change-Id: I3bb503058df8e0048370f6c1ab77f63aadf1eb57 Tracked-On: #3123 Signed-off-by: Ying Liu <ying2.liu@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
parent
ec924385ae
commit
bb8584dd4a
@ -430,16 +430,6 @@ vm_suspend(struct vmctx *ctx, enum vm_suspend_how how)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
vm_apicid2vcpu(struct vmctx *ctx, int apicid)
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
* The apic id associated with the 'vcpu' has the same numerical value
|
|
||||||
* as the 'vcpu' itself.
|
|
||||||
*/
|
|
||||||
return apicid;
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
vm_lapic_msi(struct vmctx *ctx, uint64_t addr, uint64_t msg)
|
vm_lapic_msi(struct vmctx *ctx, uint64_t addr, uint64_t msg)
|
||||||
{
|
{
|
||||||
|
@ -118,7 +118,6 @@ size_t vm_get_lowmem_size(struct vmctx *ctx);
|
|||||||
size_t vm_get_highmem_size(struct vmctx *ctx);
|
size_t vm_get_highmem_size(struct vmctx *ctx);
|
||||||
int vm_run(struct vmctx *ctx);
|
int vm_run(struct vmctx *ctx);
|
||||||
int vm_suspend(struct vmctx *ctx, enum vm_suspend_how how);
|
int vm_suspend(struct vmctx *ctx, enum vm_suspend_how how);
|
||||||
int vm_apicid2vcpu(struct vmctx *ctx, int apicid);
|
|
||||||
int vm_lapic_msi(struct vmctx *ctx, uint64_t addr, uint64_t msg);
|
int vm_lapic_msi(struct vmctx *ctx, uint64_t addr, uint64_t msg);
|
||||||
int vm_set_gsi_irq(struct vmctx *ctx, int gsi, uint32_t operation);
|
int vm_set_gsi_irq(struct vmctx *ctx, int gsi, uint32_t operation);
|
||||||
int vm_assign_ptdev(struct vmctx *ctx, int bus, int slot, int func);
|
int vm_assign_ptdev(struct vmctx *ctx, int bus, int slot, int func);
|
||||||
|
Loading…
Reference in New Issue
Block a user