Skip to content

Releases: pardnchiu/QemuRun-pve

v0.1.7

Choose a tag to compare

@pardnchiu pardnchiu released this 05 Oct 06:11

Fixed

  • Fix CPU Type Check

修正

  • 修正 CPU Type 檢查

v0.1.6

Choose a tag to compare

@pardnchiu pardnchiu released this 05 Oct 05:59

Features

  • Added environment variables for hardware resource limits:
    • VM_MAX_CPU: Maximum CPU cores limit (default: 8).
    • VM_MAX_DISK: Maximum disk size limit in GB (default: 32).
    • VM_MAX_RAM: Maximum RAM limit in MB (default: 16384).
    • VM_BALLOON_MIN: Minimum RAM for ballooning in MB (default: 2048).
  • Added new API endpoints:
    • GET /api/vm/list: Retrieves complete node and VM status information.
    • POST /api/set/disk: Increases disk size for VMs.
    • POST /api/set/cpu: Configures CPU cores for VMs.
    • POST /api/set/memory: Configures RAM for VMs.
    • POST /api/set/node: Migrates VM to specified node.
  • Migrated node migration to SSE (Server-Sent Events) output for real-time progress tracking.
  • Removed record functionality, replaced with pvesh for real-time node and VM information retrieval.
  • Added cluster CPU support check for minimum x86-64-* version, automatically retrieves the lowest supported CPU type from the cluster. (default: kvm64)

功能

  • 新增環境變數用於硬體資源限制:
    • VM_MAX_CPU:CPU 核心數上限(預設:8)。
    • VM_MAX_DISK:磁碟大小上限(GB)(預設:32)。
    • VM_MAX_RAM:記憶體上限(MB)(預設:16384)。
    • VM_BALLOON_MIN:記憶體氣球最小值(MB)(預設:2048)。
  • 新增 API:
    • GET /api/vm/list:取得完整節點與 VM 狀態資訊。
    • POST /api/set/disk:增加磁碟大小。
    • POST /api/set/cpu:設定 CPU 核心數。
    • POST /api/set/memory:設定記憶體。
    • POST /api/set/node:遷移 VM 至指定節點。
  • 節點遷移改用 SSE(Server-Sent Events)輸出,提供即時追蹤。
  • 移除 record 功能,改用 pvesh 取得即時節點與 VM 資訊。
  • 新增叢集 CPU 支援的 x86-64-* 最低版本檢查,自動獲取從集中最低可支持 CPU 類型。(預設 kvm64)

v0.1.5

Choose a tag to compare

@pardnchiu pardnchiu released this 25 Sep 03:00

Improvements

  • Add resize disk retry in createVM

優化

  • 調整硬碟大小增加重試

v0.1.4

Choose a tag to compare

@pardnchiu pardnchiu released this 23 Sep 04:04

New Features

  • Change record handling from osRecord.json to .go_qemu_record

新功能

  • 改用 .go_qemu_record 作為 OS 紀錄取代 osRecord.json

v0.1.3

Choose a tag to compare

@pardnchiu pardnchiu released this 22 Sep 01:46

New Features

  • Add VM root password handling via .env file

新功能

  • 改透過 .env 檔案處理 VM root 密碼。

v0.1.2

Choose a tag to compare

@pardnchiu pardnchiu released this 22 Sep 01:16

Improvements

  • Optimized the initialization script.

優化

  • 優化初始化腳本。

v0.1.1

Choose a tag to compare

@pardnchiu pardnchiu released this 21 Sep 17:43

Features

  • Added OS recording feature to track which operating system is used by each VM.

Improvements

  • Optimized the initialization script.

新功能

  • 新增 OS 紀錄功能,用於追蹤每個 VM 所使用的作業系統。

優化

  • 優化初始化腳本。