Skip to content

Commit 6e8734d

Browse files
committed
Fix VHD creation issue in edit VM dialog
1 parent 93bbf26 commit 6e8734d

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# EmuGUI v2.0.5.5616 "Ioana Rosa" (based on v2.0.4.5615)
2+
3+
## WARNING
4+
5+
- You now need the latest version of your Linux distribution or at least Windows 10 to get official support for this release.
6+
7+
## Changes compared to v2.0.4.5615
8+
9+
- An error with VHD creation in the Edit VM dialog has been corrected.
10+
11+
## Known issues
12+
13+
- Unfortunately, you might have to run EmuGUI from the terminal on Linux.
14+
- You will not be notified about any more updates for now as update.txt will not be updated.
15+
- As for the TPM functionality, you must run `mkdir (insert-path-here)` and `swtpm socket --tpm2 --tpmstate dir=(insert-path-here) --ctrl type=unixio,path=(insert-path-here)/swtpm-sock --log level=20` in a terminal (You can leave the `--tpm2` argument away tho if you plan to use TPM 1.2 instead).
16+
- The QCOW2 format is prone to not work for some Windows VMs.
17+
118
# EmuGUI v2.0.4.5615 "Ioana Rosa" (based on v2.0.3.5614)
219

320
## WARNING

dialogExecution/editVMNew.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ def finishCreation(self):
918918

919919
print(vhd_size_in_b)
920920

921-
vhd_cmd = f"{qemu_binary} create -f {self.cb_vhdF.currentText()} \"{vhd}\" {str(vhd_size_in_b)}"
921+
vhd_cmd = f"{qemu_binary} create -f {self.cb_vhdf.currentText()} \"{vhd}\" {str(vhd_size_in_b)}"
922922

923923
""" if platform.system() == "Windows":
924924
vhd_cmd = f"{qemu_binary} create -f {self.cb_vhdf.currentText()} \"{vhd}\" {str(vhd_size_in_b)}"
@@ -939,7 +939,7 @@ def finishCreation(self):
939939

940940
try:
941941
#vhd_cmd_split = vhd_cmd.split(" ")
942-
vhd_cmd_split = [qemu_binary, "create", "-f", self.cb_vhdF.currentText(), vhd, str(vhd_size_in_b)]
942+
vhd_cmd_split = [qemu_binary, "create", "-f", self.cb_vhdf.currentText(), vhd, str(vhd_size_in_b)]
943943

944944
if vhdAction.startswith("overwrite"):
945945
subprocess.run(vhd_cmd_split)
@@ -955,6 +955,8 @@ def finishCreation(self):
955955
else:
956956
vga = self.cb_vga.currentText()
957957

958+
print(vga)
959+
958960
if self.cb_net.currentText() == "none":
959961
networkAdapter = "none"
960962

emugui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def __init__(self, parent=None):
129129
logman = errors.logman.LogMan()
130130
logman.generateLogID()
131131
logman.logFile = logman.setLogFile()
132-
self.version = "2.0.4.5615"
132+
self.version = "2.0.5.5616"
133133

134134
self.architectures = [
135135
["i386", self.lineEdit_4],
@@ -227,7 +227,7 @@ def __init__(self, parent=None):
227227
except:
228228
pass
229229

230-
self.versionCode = 5615
230+
self.versionCode = 5616
231231

232232
if platform.system() == "Windows":
233233
self.connection = platformSpecific.windowsSpecific.setupWindowsBackend()

0 commit comments

Comments
 (0)