menu Chancel's blog
rss_feed
Chancel's blog
秋雨一何碧,山色倚晴空。

qcow2磁盘导入hyper-v虚拟机

作者:Chancel Yang, 时间:2022 Jul 28, 阅读:33

使用qemu-img来将qcow2转成hyper-v支持的vhd磁盘格式

qemu-img convert -p -O vpc alpine3.16.1.qcow2 alpine3.16.1.vhd

实践如下

➜  qemu-img convert -p -O vpc alpine3.16.1.qcow2 alpine3.16.1.vhd   
    (100.00/100%)
➜  qemu-img info alpine3.16.1.vhd 
image: alpine3.16.1.vhd
file format: vpc
virtual size: 1.0G (1073995776 bytes)
disk size: 275M
cluster_size: 2097152

[[replyMessage== null?"发表评论":"发表评论 @ " + replyMessage.m_author]]

account_circle
email
web_asset
textsms

评论列表([[messageResponse.total]])

还没有可以显示的留言...
[[messageItem.m_author]] [[messageItem.m_author]]
[[messageItem.create_time]]
[[getEnviron(messageItem.m_environ)]]
[[subMessage.m_author]] [[subMessage.m_author]] @ [[subMessage.parent_message.m_author]] [[subMessage.parent_message.m_author]]
[[subMessage.create_time]]
[[getEnviron(messageItem.m_environ)]]