Skip to content

Commit c6c5375

Browse files
n0toosecharlottestinsonMrMunoz
committed
docs: capitalize Uhyve
Based on #689 Fixes #458 Co-authored-by: charlottestinson <[email protected]> Co-authored-by: Jonathan Munoz <[email protected]>
1 parent 9ba3c9d commit c6c5375

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
<img width="200" align="right" src="img/uhyve.svg" />
22

3-
# uhyve - A minimal hypervisor for Hermit
3+
# Uhyve - A minimal hypervisor for Hermit
44

55
[![crates.io](https://img.shields.io/crates/v/uhyve.svg)](https://crates.io/crates/uhyve)
66
[![Zulip Badge](https://img.shields.io/badge/chat-hermit-57A37C?logo=zulip)](https://hermit.zulipchat.com/)
77

88
## Introduction
99

10-
uhyve is small hypervisor to boot the [Hermit kernel](https://github.com/hermitcore/kernel), which is a unikernel operating system targeting a scalable and predictable runtime behavior for HPC and cloud environments.
10+
Uhyve is small hypervisor to boot the [Hermit kernel](https://github.com/hermitcore/kernel), which is a unikernel operating system targeting a scalable and predictable runtime behavior for HPC and cloud environments.
1111

12-
**Warning:** At the moment uhyve grants full host file system access from within the unikernel with the permissions of the user running uhyve.
12+
**Warning:** At the moment Uhyve grants full host file system access from within the unikernel with the permissions of the user running Uhyve.
1313
Thus, it should not be used for applications which require isolation from the host system.
1414

1515
## Installation
1616

1717
An installation of the Rust toolchain is required.
1818
Please visit the [Rust website](https://www.rust-lang.org/) and follow the installation instructions.
1919

20-
Install uhyve with
20+
Install Uhyve with
2121

2222
```console
2323
$ cargo install --locked uhyve
@@ -33,7 +33,7 @@ To check if your system supports virtualization, you can use the following comma
3333
if egrep -c '(vmx|svm)' /proc/cpuinfo > /dev/null; then echo "Virtualization support found"; fi
3434
```
3535

36-
On Linux, uhyve depends on the virtualization solution [KVM](https://www.linux-kvm.org/page/Main_Page) (Kernel-based Virtual Machine).
36+
On Linux, Uhyve depends on the virtualization solution [KVM](https://www.linux-kvm.org/page/Main_Page) (Kernel-based Virtual Machine).
3737
If the following command gives you some output, you are ready to go!
3838

3939
```sh
@@ -44,7 +44,7 @@ lsmod | grep kvm
4444

4545
### macOS
4646

47-
**Disclaimer:** Currently, uhyve is mainly developed for Linux.
47+
**Disclaimer:** Currently, Uhyve is mainly developed for Linux.
4848
The macOS version has not been tested extensively and does not support all features of the Linux version.
4949

5050
Apple's *Command Line Tools* must be installed.
@@ -75,7 +75,7 @@ cd uhyve
7575
cargo build --release
7676
```
7777

78-
## Signing uhyve to run on macOS Big Sur
78+
## Signing Uhyve to run on macOS Big Sur
7979

8080
`uhyve` can be self-signed with the following command.
8181

@@ -98,7 +98,7 @@ The file `app.entitlements` must have following content:
9898

9999
For further details have a look at [Apple's documentation](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_hypervisor).
100100

101-
## Running Hermit apps within uhyve
101+
## Running Hermit apps within Uhyve
102102

103103
Use the hypervisor to start the unikernel.
104104
```sh
@@ -107,13 +107,13 @@ uhyve /path/to/the/unikernel/binary
107107

108108
### Configuration
109109

110-
uhyve can be configured via environment variables.
110+
Uhyve can be configured via environment variables.
111111
The following variables are supported.
112112

113113
- `HERMIT_CPUS`: specifies the number of cores the virtual machine may use.
114114
- `HERMIT_MEM`: defines the memory size of the virtual machine. The suffixes *M* and *G* can be used to specify a value in megabytes or gigabytes, respectively.
115115
- setting `HERMIT_VERBOSE` to `1` makes the hypervisor print kernel log messages to the terminal.
116-
- `HERMIT_GDB_PORT=port` activate a gdb server for the application running inside uhyve. _See below_
116+
- `HERMIT_GDB_PORT=port` activate a gdb server for the application running inside Uhyve. _See below_
117117

118118
By default, the loader initializes a system with one core and 512 MiB RAM.
119119

@@ -125,9 +125,9 @@ HERMIT_CPUS=4 HERMIT_MEM=8G uhyve /path/to/the/unikernel/binary
125125

126126
## Debugging of Hermit apps (unstable)
127127

128-
Basic support of (single-core) applications is already integrated into uhyve.
129-
By specifying variable `HERMIT_GDB_PORT=port`, uhyve is working as gdbserver and is waiting on port `port` for a connection to a gdb.
130-
For instance, with the following command uhyve is waiting on port `6677` for a connection.
128+
Basic support of (single-core) applications is already integrated into Uhyve.
129+
By specifying variable `HERMIT_GDB_PORT=port`, Uhyve is working as gdbserver and is waiting on port `port` for a connection to a gdb.
130+
For instance, with the following command Uhyve is waiting on port `6677` for a connection.
131131

132132
```bash
133133
HERMIT_GDB_PORT=6677 uhyve /path_to_the_unikernel/hello_world

src/arch/aarch64/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ pub fn init_guest_mem(mem: &mut [u8]) {
189189
)
190190
};
191191
pgt_slice.fill(0);
192-
// map uhyve ports into the virtual address space
192+
// map Uhyve ports into the virtual address space
193193
pgt_slice[0] = PT_MEM_CD;
194194
// map BootInfo into the virtual address space
195195
pgt_slice[BOOT_INFO_ADDR.as_u64() as usize / PAGE_SIZE] = BOOT_INFO_ADDR.as_u64() + PT_MEM;

tests/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub fn build_hermit_bin(kernel: impl AsRef<Path>) -> PathBuf {
3737
}
3838

3939
/// Small wrapper around [`Uhyve::run`] with default parameters for a small and
40-
/// simple uhyve vm
40+
/// simple Uhyve vm
4141
pub fn run_simple_vm(kernel_path: PathBuf) {
4242
let params = Params {
4343
verbose: true,

uhyve-interface/src/elf.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//! Utility to place the uhyve interface version in the elf header of the hermit kernel.
1+
//! Utility to place the Uhyve interface version in the elf header of the hermit kernel.
22
3-
/// Defines the uhyve interface version in the note section.
3+
/// Defines the Uhyve interface version in the note section.
44
///
55
/// This macro must be used in a module that is guaranteed to be linked.
66
/// See <https://github.com/rust-lang/rust/issues/99721>.
@@ -13,7 +13,7 @@ macro_rules! define_uhyve_interface_version {
1313
};
1414
}
1515

16-
/// Note type for specifying the uhyve interface version in an elf header.
16+
/// Note type for specifying the Uhyve interface version in an elf header.
1717
pub const NT_UHYVE_INTERFACE_VERSION: u32 = 0x5b00;
1818

1919
/// A elf note header entry containing the used Uhyve interface version as little-endian 32-bit value.

uhyve-interface/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! # Uhyve Hypervisor Interface
22
//!
3-
//! The uhyve hypercall interface works as follows:
3+
//! The Uhyve hypercall interface works as follows:
44
//!
55
//! - On `x86_64` you use an out port instruction. The address of the `out`-port corresponds to the
66
//! hypercall you want to use. You can obtain it from the [`IoPorts`] enum. The data send to
@@ -28,7 +28,7 @@ pub use ::x86_64::addr::VirtAddr as GuestVirtAddr;
2828
compile_error!("Using uhyve-interface on a non-64-bit system is not (yet?) supported");
2929
use parameters::*;
3030

31-
/// The version of the uhyve interface. Note: This is not the same as the semver of the crate but
31+
/// The version of the Uhyve interface. Note: This is not the same as the semver of the crate but
3232
/// should be increased on every version bump that changes the API.
3333
pub const UHYVE_INTERFACE_VERSION: u32 = 1;
3434

@@ -87,7 +87,7 @@ impl From<Hypercall<'_>> for HypercallAddress {
8787
}
8888
}
8989

90-
/// Hypervisor calls available in uhyve with their respective parameters. See the [module level documentation](crate) on how to invoke them.
90+
/// Hypervisor calls available in Uhyve with their respective parameters. See the [module level documentation](crate) on how to invoke them.
9191
#[non_exhaustive]
9292
#[derive(Debug)]
9393
pub enum Hypercall<'a> {

0 commit comments

Comments
 (0)