Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the testcases related to agent mode in libvirt with windows guest os run failed #1919

Open
lijuanmen opened this issue Dec 11, 2014 · 0 comments

Comments

@lijuanmen
Copy link

The testcases in libvirt were runned with win7 and win2012 guest os. All of them related to agent mode runned failed.

In the py file(eg,virsh_reboot.py),the code about agent is as followed in general:
if agent:
vm_xml.VMXML.set_agent_channel(vm_name)
else:
vm_xml.VMXML.remove_agent_channel(vm_name)

    virsh.start(vm_name)
    guest_session = vm.wait_for_login()
    if agent:
        guest_session.cmd("qemu-ga -d")
        stat_ps = guest_session.cmd_status("ps aux |grep [q]emu-ga")
        guest_session.close()
        if stat_ps:
            raise error.TestError("Fail to start qemu-guest-agent!")

The windows guest os doesn`t support these linux command ,so the testcases related to agent mode run failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant