当前位置:网站首页>QEMU monitor usage

QEMU monitor usage

2022-06-28 03:00:00 Linux decoder

QEMU monitor Can pass HMP and QMP Link virtual machine .

1 HMP The way

1.1 Mode one

1) Start up qemu Add the following command when :

-qmp unix:/path/qmp-test,server,nowait \

2) stay host Use command links on :

nc -U /path/qmp-test

1.2 Mode two

1) Start up qemu Add the following command when :

-qmp telnet:127.0.0.1:4444,server,nowait \

2) stay host Use command links on :

telnet 127.0.0.1:4444

2 QMP The way

2.1 Mode one

1) start-up qemu Add command when :

-monitor unix:/path/qmp-test,server,nowait \

2) stay host Use command links on :

nc -U /path/qmp-test

2.2 Mode two

1) start-up qemu Add command when :

-monitor telnet:127.0.0.1:4444,server,nowait \

2) stay host Use command links on :

telnet 127.0.0.1:4444

原网站

版权声明
本文为[Linux decoder]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202161447238046.html

随机推荐