Skip to content

Commit a723a9f

Browse files
authored
Merge pull request jiangcuo#144 from jiangcuo/port4
Update qemu-server to 8.3.1
2 parents c7b9210 + 7f13bee commit a723a9f

10 files changed

Lines changed: 159 additions & 278 deletions

packages/qemu-server/patches/001-port.patch renamed to packages/qemu-server/patches/001-init-for-port.patch

Lines changed: 127 additions & 61 deletions
Large diffs are not rendered by default.

‎packages/qemu-server/patches/002-fix-usb-hotplug.patch‎

Lines changed: 0 additions & 51 deletions
This file was deleted.

‎packages/qemu-server/patches/003-fix-loongarch-nvram-and-acpi-issue.patch‎

Lines changed: 0 additions & 106 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
2+
index db356b7e..e1dc3e7e 100644
3+
--- a/PVE/API2/Qemu.pm
4+
+++ b/PVE/API2/Qemu.pm
5+
@@ -1223,6 +1223,11 @@ __PACKAGE__->register_method({
6+
);
7+
$conf->{$_} = $created_opts->{$_} for keys $created_opts->%*;
8+
9+
+ # set default bios to ovmf
10+
+ if (!$conf->{bios}){
11+
+ $conf->{bios} = 'ovmf';
12+
+ }
13+
+
14+
if (!$conf->{boot}) {
15+
my $devs = PVE::QemuServer::get_default_bootdevices($conf);
16+
$conf->{boot} = PVE::QemuServer::print_bootorder($devs);
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/PVE/QemuServer/CPUConfig.pm b/PVE/QemuServer/CPUConfig.pm
2+
index c229c35f..f5344716 100644
3+
--- a/PVE/QemuServer/CPUConfig.pm
4+
+++ b/PVE/QemuServer/CPUConfig.pm
5+
@@ -168,6 +168,7 @@ my $cpu_vendor_list = {
6+
'rv64' => 'default',
7+
'la464' => 'default',
8+
'la132' => 'default',
9+
+ 'Kunpeng-920' => 'default',
10+
};
11+
12+
my @supported_cpu_flags = (

‎packages/qemu-server/patches/changelog/001-update-to8.3.0+port1.patch‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎packages/qemu-server/patches/changelog/002-update-to8.3.0+port2.patch‎

Lines changed: 0 additions & 25 deletions
This file was deleted.

‎packages/qemu-server/patches/changelog/003-update-to8.3.0+port3.patch‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎packages/qemu-server/qemu-server‎

Submodule qemu-server updated from 7547eb3 to 30587be

‎packages/qemu-server/series‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
patches/001-port.patch
2-
patches/002-fix-usb-hotplug.patch
3-
patches/003-fix-loongarch-nvram-and-acpi-issue.patch
4-
patches/changelog/001-update-to8.3.0+port1.patch
5-
patches/changelog/002-update-to8.3.0+port2.patch
6-
patches/changelog/003-update-to8.3.0+port3.patch
1+
patches/001-init-for-port.patch
2+
patches/003-set-default-bios-to-ovmf-when-vm-create.diff
3+
patches/004-add-Kunpeng-920-cpu-model.patch

0 commit comments

Comments
 (0)