mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
virt: acrn: Fix typos
- s/need/needs/ - s/No/Not/ Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Link: https://lore.kernel.org/r/20240418214143.1253-3-thorsten.blum@toblux.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5c9c5d7f26
commit
203b283cc1
@ -3,7 +3,7 @@
|
|||||||
* A sample program to run a User VM on the ACRN hypervisor
|
* A sample program to run a User VM on the ACRN hypervisor
|
||||||
*
|
*
|
||||||
* This sample runs in a Service VM, which is a privileged VM of ACRN.
|
* This sample runs in a Service VM, which is a privileged VM of ACRN.
|
||||||
* CONFIG_ACRN_HSM need to be enabled in the Service VM.
|
* CONFIG_ACRN_HSM needs to be enabled in the Service VM.
|
||||||
*
|
*
|
||||||
* Guest VM code in guest16.s will be executed after the VM launched.
|
* Guest VM code in guest16.s will be executed after the VM launched.
|
||||||
*
|
*
|
||||||
@ -55,7 +55,7 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
ret = posix_memalign(&guest_memory, 4096, GUEST_MEMORY_SIZE);
|
ret = posix_memalign(&guest_memory, 4096, GUEST_MEMORY_SIZE);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
printf("No enough memory!\n");
|
printf("Not enough memory!\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
hsm_fd = open("/dev/acrn_hsm", O_RDWR|O_CLOEXEC);
|
hsm_fd = open("/dev/acrn_hsm", O_RDWR|O_CLOEXEC);
|
||||||
|
Loading…
Reference in New Issue
Block a user