Skip to content

Commit 7bf2031

Browse files
committed
loong64 bump to pve6
1 parent ae6e05f commit 7bf2031

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

‎Patchs/QemuServer/QemuServer.patch‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
my $usbbus;
3535
- if ($q35 || $arch eq 'aarch64') {
3636
- $usbbus = 'ehci';
37-
+ if ($q35 || $arch eq 'aarch64' || $arch eq 'riscv64' || $arch eq 'loongarch64') {
37+
+ if ($q35 || $arch ne 'x86_64') {
3838
+ $usbbus = 'qemu-xhci';
3939
} else {
4040
$usbbus = 'uhci';
@@ -233,7 +233,7 @@ diff -ur a/PVE/QemuServer/CPUConfig.pm b/PVE/QemuServer/CPUConfig.pm
233233
my $cputype = $kvm ? "kvm64" : "qemu64";
234234
if ($arch eq 'aarch64') {
235235
- $cputype = 'cortex-a57';
236-
+ $cputype = 'cortex-a57';
236+
+ $cputype = 'host';
237237
+ } elsif ($arch eq 'riscv64') {
238238
+ $cputype = 'rv64';
239239
+ } elsif ($arch eq 'loongarch64'){
@@ -278,7 +278,7 @@ diff -ur a/PVE/QemuServer/USB.pm b/PVE/QemuServer/USB.pm
278278
- push @$devices, '-device', "usb-ehci,id=ehci$pciaddr";
279279
+ if ($arch ne 'x86_64') {
280280
+ $pciaddr = print_pci_addr('qemu-xhci', $bridges, $arch, $machine);
281-
+ push @$devices, '-device', "qemu-xhci,id=qemu-xchi";
281+
+ push @$devices, '-device', "qemu-xhci,id=qemu-xhci";
282282
} elsif (!$is_q35) {
283283
$pciaddr = print_pci_addr("piix3", $bridges, $arch, $machine);
284284
push @$devices, '-device', "piix3-usb-uhci,id=uhci$pciaddr.0x2";

‎README.md‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ I plan to port Proxmox VE and Proxmox Backup Server to any architecture.
44

55
By now, arm64 is finished. https://github.com/jiangcuo/Proxmox-Arm64
66

7+
# Progress
8+
9+
* pve6 base on debian sid -> done
10+
711
# Current difficulties
812

913
Proxmox VE 7 and Proxmox Backup Server use rust.
@@ -13,7 +17,11 @@ Some crates and pkg don't work on riscv and loongarch64 yet,cause I can't build
1317
such as:
1418

1519
- Ring:
16-
https://github.com/briansmith/ring/pull/1436
20+
- https://github.com/briansmith/ring/pull/1436 //riscv
21+
22+
- https://github.com/zhaixiaojuan/ring.git //loong64
23+
24+
- https://github.com/briansmith/webpki/issues/253
1725

1826
- Criu:
1927
https://github.com/checkpoint-restore/criu/issues/1702

0 commit comments

Comments
 (0)