Hide Forgot
Description of problem: create a configure file with "-writeconfig" option in qemu-kvm command line,then boot guest use the same configure file and with "-readconfig" option,guest boot failed. Version-Release number of selected component (if applicable): 2.6.32-220.el6.x86_64 qemu-kvm-0.12.1.2-2.209.el6.x86_64 How reproducible: 3/3 Steps to Reproduce: 1.boot a guest with "-writeconfig" option and with "-monitor stdio" in qemu-kvm command line e.g. # /usr/libexec/qemu-kvm ... -monitor stdio -writeconfig /home/test.cfg 2.boot a guest with "-readconfig" option and use test.cfg e.g. # /usr/libexec/qemu-kvm ... -readconfig /home/test.cfg 3. Actual results: boot guest failed and prompt: qemu-kvm: Duplicate ID 'monitor' for chardev parse error: vc:80Cx24C Expected results: guest start without any error. Additional info: without "-monitor stdio" in qemu-kvm command line no this error.
try to add -nodefconfig
(In reply to comment #1) > try to add -nodefconfig Please retest w/ it
I'm sorry for updating late. when boot guest,add -nodeconfig -nodefaults to qemu-kvm command line no this problem.