mirror of
https://github.com/vatesfr/xen-orchestra.git
synced 2026-11-09 17:06:13 -06:00
fix: correct 2 typos (#9873)
* Update esxi.mjs * Update importVdi.mjs Correct typo * Update importDisksfromDatastore.mjs Correct typo * Update CHANGELOG.unreleased.md Updated list of changed packages
This commit is contained in:
@@ -549,7 +549,7 @@ export default class Esxi extends EventEmitter {
|
||||
}
|
||||
}
|
||||
|
||||
async spanwNbdKitProcess(vmId, diskPath, { singleLink = false, threads = 1, compression = 'fastlz' } = {}) {
|
||||
async spawnNbdKitProcess(vmId, diskPath, { singleLink = false, threads = 1, compression = 'fastlz' } = {}) {
|
||||
const key = `${vmId}/${diskPath}/${singleLink}`
|
||||
if (!this.#nbdServers.has(key)) {
|
||||
const thumbprint = await this.#getServerThumbprint()
|
||||
@@ -623,7 +623,7 @@ export default class Esxi extends EventEmitter {
|
||||
try {
|
||||
const start = Date.now()
|
||||
|
||||
const nbdInfoSpawn = await this.spanwNbdKitProcess(vmId, `[${datastoreName}] ${diskPath}`, {
|
||||
const nbdInfoSpawn = await this.spawnNbdKitProcess(vmId, `[${datastoreName}] ${diskPath}`, {
|
||||
singleLink: true,
|
||||
})
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ export async function importVdi(vdi, vhd, xapi, sr) {
|
||||
// create a fake VM
|
||||
const vmRef = await importVm(
|
||||
{
|
||||
name_label: `[xva-disp-import]${vdi.name_label}`,
|
||||
name_label: `[xva-disk-import]${vdi.name_label}`,
|
||||
memory: 1024 * 1024 * 32,
|
||||
nCpus: 1,
|
||||
firmware: 'bios',
|
||||
|
||||
@@ -31,4 +31,7 @@
|
||||
|
||||
<!--packages-start-->
|
||||
|
||||
- @xen-orchestra/vmware-explorer patch
|
||||
- @xen-orchestra/xva patch
|
||||
|
||||
<!--packages-end-->
|
||||
|
||||
@@ -16,7 +16,7 @@ export async function importStream({ esxi, dataMap, disk, vmId, format }, consum
|
||||
let stream
|
||||
try {
|
||||
// we read the data from the full chain to ensure we don't have partial blocks ( blocks with 0 when clusters are in parent only)
|
||||
const { nbdInfos } = await esxi.spanwNbdKitProcess(vmId, `[${datastoreName}] ${diskPath}`)
|
||||
const { nbdInfos } = await esxi.spawnNbdKitProcess(vmId, `[${datastoreName}] ${diskPath}`)
|
||||
signal?.throwIfAborted()
|
||||
vmdk = new NbdDisk(nbdInfos, READ_BLOCK_SIZE, { dataMap })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user