Skip to content

Commit e5ec0a4

Browse files
authored
Merge branch 'main' into use-mmap-files
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
2 parents c96bb27 + b9c67fb commit e5ec0a4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+361
-970
lines changed

.devcontainer/devcontainer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// Environment for the container also used by the `postCreateCommand`
1010
"containerEnv": {
1111
"DEVICE": "/dev/kvm",
12-
"KVM_SHOULD_BE_PRESENT": "true",
1312
"REMOTE_USER": "vscode",
1413
"REMOTE_GROUP": "vscode"
1514
},

.github/ISSUE_TEMPLATE/bug.yaml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
name: Bug Report
2+
3+
description: Report a bug in the project
4+
5+
labels:
6+
- bug
7+
8+
body:
9+
- type: textarea
10+
id: bug-description
11+
attributes:
12+
label: What happened?
13+
description: A clear and concise description of what the bug is.
14+
placeholder: Describe the bug here
15+
validations:
16+
required: true
17+
18+
- type: textarea
19+
id: bug-expected-behavior
20+
attributes:
21+
label: What did you expect to happen?
22+
description: A clear and concise description of what you expected to happen.
23+
validations:
24+
required: true
25+
26+
- type: textarea
27+
id: bug-steps-to-reproduce
28+
attributes:
29+
label: Steps to reproduce the behavior
30+
description: |
31+
Steps to reproduce the behavior:
32+
placeholder: |
33+
1. Run '...'
34+
2. and then do '...'
35+
3. Check logs for '...'
36+
validations:
37+
required: true
38+
39+
- type: textarea
40+
id: hyperlight-version
41+
attributes:
42+
label: Hyperlight Version
43+
description: The version of Hyperlight you are using.
44+
placeholder: 0.1.0
45+
validations:
46+
required: true
47+
48+
- type: textarea
49+
id: os-version
50+
attributes:
51+
label: OS version
52+
description: The version of the OS you are using.
53+
value: |
54+
<details>
55+
56+
```console
57+
On Linux:
58+
$ cat /etc/os-release
59+
# paste output here
60+
61+
$ uname -a
62+
# paste output here
63+
64+
On Windows:
65+
C:\> cmd /c ver
66+
# paste output here
67+
68+
````
69+
</details>
70+
validations:
71+
required: true
72+
73+
- type: textarea
74+
id: additional-info
75+
attributes:
76+
label: Additional Information
77+
description: Add any other context about the problem here.
78+
placeholder: Add any other context about the problem here.
79+
validations:
80+
required: false

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ updates:
55
schedule:
66
interval: "daily"
77
- package-ecosystem: "cargo"
8-
directory: "/"
8+
directories: ["/", "src/tests/rust_guests/simpleguest","src/tests/rust_guests/callbackguest"]
99
schedule:
10-
interval: "daily"
10+
interval: "daily"

.github/workflows/Benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- uses: actions/checkout@v4
3030

31-
- uses: hyperlight-dev/ci-setup-workflow@v1.1.0
31+
- uses: hyperlight-dev/ci-setup-workflow@v1.2.0
3232
with:
3333
rust-toolchain: "1.81.0"
3434
env:

.github/workflows/CargoPublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fetch-depth: 0
3333
fetch-tags: true
3434

35-
- uses: hyperlight-dev/ci-setup-workflow@v1.1.0
35+
- uses: hyperlight-dev/ci-setup-workflow@v1.2.0
3636
with:
3737
rust-toolchain: "1.81.0"
3838

.github/workflows/CreateRelease.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v4
2323

24-
- uses: hyperlight-dev/ci-setup-workflow@v1.1.0
24+
- uses: hyperlight-dev/ci-setup-workflow@v1.2.0
2525
with:
2626
rust-toolchain: "1.81.0"
2727
env:
@@ -41,7 +41,7 @@ jobs:
4141
steps:
4242
- uses: actions/checkout@v4
4343

44-
- uses: hyperlight-dev/ci-setup-workflow@v1.1.0
44+
- uses: hyperlight-dev/ci-setup-workflow@v1.2.0
4545
with:
4646
rust-toolchain: "1.81.0"
4747
env:
@@ -109,7 +109,7 @@ jobs:
109109
fetch-depth: 0
110110
fetch-tags: true
111111

112-
- uses: hyperlight-dev/ci-setup-workflow@v1.1.0
112+
- uses: hyperlight-dev/ci-setup-workflow@v1.2.0
113113
with:
114114
rust-toolchain: "1.81.0"
115115
env:

.github/workflows/ValidatePullRequest.yml

Lines changed: 0 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -65,115 +65,3 @@ jobs:
6565
- uses: actions/checkout@v4
6666
- name: Spell Check Repo
6767
uses: crate-ci/typos@master
68-
69-
#####
70-
# start build-on-windows
71-
#####
72-
build-on-windows:
73-
needs:
74-
- docs-pr
75-
if: ${{needs.docs-pr.outputs.docs-only != 'true'}}
76-
runs-on: ${{ matrix.os }}
77-
strategy:
78-
fail-fast: true
79-
matrix:
80-
build: [windows-debug, windows-release]
81-
include:
82-
- build: windows-debug
83-
os: [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-amd"]
84-
config: debug
85-
platform: x64
86-
- build: windows-release
87-
os: [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-amd"]
88-
config: release
89-
platform: x64
90-
env:
91-
RUST_BACKTRACE: FULL
92-
93-
steps:
94-
- uses: actions/checkout@v4
95-
96-
- name: Get system info
97-
run: |
98-
echo "cmd /ver"
99-
cmd /ver
100-
echo "systeminfo"
101-
systeminfo
102-
103-
# Run this so we can use just targets in this workflow
104-
- uses: hyperlight-dev/ci-setup-workflow@v1.1.0
105-
with:
106-
rust-toolchain: "1.81.0"
107-
env:
108-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
109-
110-
111-
#####
112-
# end build-on-windows
113-
#####
114-
115-
#####
116-
# start build-on-linux
117-
#####
118-
build-on-linux:
119-
needs:
120-
- docs-pr
121-
if: ${{needs.docs-pr.outputs.docs-only != 'true'}}
122-
runs-on: ${{ matrix.os }}
123-
strategy:
124-
fail-fast: true
125-
matrix:
126-
build:
127-
[
128-
linux-kvm-debug,
129-
linux-kvm-release,
130-
linux-hyperv-debug,
131-
linux-hyperv-release,
132-
]
133-
include:
134-
- build: linux-kvm-debug
135-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd"]
136-
config: debug
137-
platform: x64
138-
hypervisor: kvm
139-
- build: linux-kvm-release
140-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd"]
141-
config: release
142-
platform: x64
143-
hypervisor: kvm
144-
- build: linux-hyperv-debug
145-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-amd"]
146-
config: debug
147-
platform: x64
148-
hypervisor: hyperv
149-
- build: linux-hyperv-release
150-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-amd"]
151-
config: release
152-
platform: x64
153-
hypervisor: hyperv
154-
env:
155-
RUST_BACKTRACE: FULL
156-
157-
steps:
158-
- uses: actions/checkout@v4
159-
160-
- name: uname (linux)
161-
run: |
162-
echo "uname -a"
163-
uname -a
164-
echo "cat /etc/os-release"
165-
cat /etc/os-release
166-
167-
- uses: hyperlight-dev/ci-setup-workflow@v1.1.0
168-
with:
169-
rust-toolchain: "1.81.0"
170-
env:
171-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
172-
173-
- name: Build C Guest Binaries
174-
run: |
175-
just build-c-guests ${{ matrix.config }}
176-
177-
#####
178-
# end build-on-linux
179-
#####

.github/workflows/dep_build_guest_binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v4
3333

34-
- uses: hyperlight-dev/ci-setup-workflow@v1.1.0
34+
- uses: hyperlight-dev/ci-setup-workflow@v1.2.0
3535
with:
3636
rust-toolchain: "1.81.0"
3737
env:

.github/workflows/dep_fuzzing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Checkout code
2626
uses: actions/checkout@v4
2727

28-
- uses: hyperlight-dev/ci-setup-workflow@v1.1.0
28+
- uses: hyperlight-dev/ci-setup-workflow@v1.2.0
2929
with:
3030
rust-toolchain: "1.81.0"
3131
env:

.github/workflows/dep_rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
env:
1616
CARGO_TERM_COLOR: always
17-
RUST_BACKTRACE: FULL
17+
RUST_BACKTRACE: full
1818

1919
permissions:
2020
id-token: write
@@ -34,7 +34,7 @@ jobs:
3434
steps:
3535
- uses: actions/checkout@v4
3636

37-
- uses: hyperlight-dev/ci-setup-workflow@v1.1.0
37+
- uses: hyperlight-dev/ci-setup-workflow@v1.2.0
3838
with:
3939
rust-toolchain: "nightly"
4040
env:

0 commit comments

Comments
 (0)