Skip to content

Commit c8c259d

Browse files
committed
fix(vmm-ui): expose swtpm and no-TEE controls
1 parent 51d7528 commit c8c259d

3 files changed

Lines changed: 2 additions & 15 deletions

File tree

dstack/vmm/ui/src/components/CreateVmDialog.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const CreateVmDialogComponent = {
141141
<option value="none">None</option>
142142
<option value="kms">KMS</option>
143143
<option value="local">Local</option>
144-
<option value="tpm">TPM</option>
144+
<option value="tpm">TPM (swtpm)</option>
145145
</select>
146146
</div>
147147
@@ -184,7 +184,7 @@ const CreateVmDialogComponent = {
184184
<label><input type="checkbox" v-model="form.public_logs"> Public logs</label>
185185
<label><input type="checkbox" v-model="form.public_sysinfo"> Public sysinfo</label>
186186
<label><input type="checkbox" v-model="form.public_tcbinfo"> Public TCB info</label>
187-
<label><input type="checkbox" v-model="form.no_tee"> Disable TDX</label>
187+
<label><input type="checkbox" v-model="form.no_tee"> No TEE</label>
188188
<label><input type="checkbox" v-model="form.pin_numa"> Pin NUMA</label>
189189
<label><input type="checkbox" v-model="form.hugepages"> Huge pages</label>
190190
</div>

dstack/vmm/ui/src/composables/useVmManager.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,11 +1362,6 @@ type CreateVmPayloadSource = {
13621362
window.open('/api-docs/docs', '_blank', 'noopener');
13631363
}
13641364

1365-
function openLegacyUi() {
1366-
closeSystemMenu();
1367-
window.open('/v0', '_blank', 'noopener');
1368-
}
1369-
13701365
function shortUptime(uptime?: string | null) {
13711366
if (!uptime) {
13721367
return '-';
@@ -1809,7 +1804,6 @@ type CreateVmPayloadSource = {
18091804
toggleSystemMenu,
18101805
closeSystemMenu,
18111806
openApiDocs,
1812-
openLegacyUi,
18131807
reloadVMs,
18141808
devMode,
18151809
toggleDevMode,

dstack/vmm/ui/src/templates/app.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,6 @@ <h1 class="app-title">dstack-vmm</h1>
5757
</svg>
5858
API Docs
5959
</button>
60-
<button class="dropdown-item" @click="openLegacyUi()">
61-
<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
62-
<path d="M3 3h8v8H3z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"/>
63-
<path d="M4.5 6.5l1.5 1.5 3.5-3.5" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
64-
</svg>
65-
Legacy UI
66-
</button>
6760
<button class="dropdown-item" @click="toggleDevMode()">
6861
<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
6962
<path d="M7 2v3M7 9v3M4 7H2M12 7h-2" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/>

0 commit comments

Comments
 (0)