| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
machine_manager: Fix typos, modernize global init, and add build script Replaced all instances of "Unknow" with the correct spelling "Unknown". Improved indentation in comments to enhance clarity and consistency. Replaced unsafe static global QMP_CHANNEL with OnceLock for thread-safe lazy initialization. Added a build.rs script to register custom cfg flags for conditional compilation checks. Added missing Sync and Send implementations to Socket with safety annotations. Fixed minor logic issues in socket message writing using write_all for better robustness. Signed-off-by: Fei Xu <xufei30@huawei.com> | 1 年前 | |
qmp: asynchronously send event to client Currently event might be sent in parallel with qmp response because there is no lock to guarantee the order. Then the data received by the client possibly misses partial bytes. To solve this problem, let's introduce asynchonouse mechanism to send the data and make sending event and qmp response serailly in the iothread. Signed-off-by: Zhao Yi Min <zhaoyimin1@huawei.com> | 4 个月前 | |
version: Update to v2.5.0 Signed-off-by: Fei Xu <xufei30@huawei.com> | 4 个月前 | |
machine: expose guest RAM snapshot query data Implement the snapshot memory QMP queries for standard and micro machines. The mapping query returns RAM host addresses, sizes, page sizes, and flat image offsets. The page-state query returns resident and zero-page bitmaps using the same flat RAM order. Residency is derived from /proc/self/pagemap rather than mincore, so pages that are present in RAM or swapped out are both reported as resident. Swapped pages are read back in before zero-page classification so the empty bitmap remains exact. All snapshot memory query paths require the VM to be paused so external tools observe a stable memory layout and page-state view. The dirty bitmap command uses the UFFD query-and-reset helper introduced earlier. (cherry picked from commit 8eb89af3594843237af9edcc64d6cc34b0ab4f4f) | 4 天前 | |
tests: add snapshot memory query workflow Add tests for the snapshot memory query workflow and file snapshot detection path. The QMP socket regression checks that save-side migrate URI parsing recognizes file snapshots with memory=external and mapped=false, so the existing snapshot stop/resume wrapper is used. The ignored mod-test documents the manual QMP flow for pausing a VM and querying page state and memory mappings from a test VM. (cherry picked from commit 988fc21e0c475d0976f29eb70d759e379f5a8059) | 4 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 4 个月前 | ||
| 4 个月前 | ||
| 4 天前 | ||
| 4 天前 |