ShaoHe Feng has posted comments on this change. Change subject: Add an option to create a watchdog device. ......................................................................
Patch Set 11: Verified how to verified this patch. Maybe there is no a UI in engine to add a watchdog device. you can start a vm directly by vdsm with a wathdog device parameter. http://wiki.ovirt.org/wiki/Vdsm_Standalone add a wathdog device parameter dev_list = [{'device': 'watchdog', 'type': 'watchdog', 'specParams': {'model': 'ib700', 'action': "dump"}} vdsOK( s.create(dict(vmId=vmId, drives=[dict(poolID=spUUID, domainID=sdUUID, imageID=imgUUID, volumeID=volUUID)], memSize=256, display="vnc", vmName="vm1", devices = dev_list, ) ) ) after the vm start up, you can use virsh to watch the watchdog device in xml. # virsh -c qemu:///system sudo virsh -c qemu:///system dumpxml vm1. you can also log on vm1 # ls /dev/watchdog but some os such as ubuntu will add the watchdog automatically for the udev rule. -- To view, visit http://gerrit.ovirt.org/7535 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I2b7970a9050ab0279fe03371b9a77692fba30af8 Gerrit-PatchSet: 11 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: ShaoHe Feng <[email protected]> Gerrit-Reviewer: Adam Litke <[email protected]> Gerrit-Reviewer: Bing Bu Cao <[email protected]> Gerrit-Reviewer: Doron Fediuck <[email protected]> Gerrit-Reviewer: Mark Wu <[email protected]> Gerrit-Reviewer: Michael Burns <[email protected]> Gerrit-Reviewer: Ryan Harper <[email protected]> Gerrit-Reviewer: ShaoHe Feng <[email protected]> Gerrit-Reviewer: Shu Ming <[email protected]> Gerrit-Reviewer: Xu He Jie <[email protected]> Gerrit-Reviewer: Zhou Zheng Sheng <[email protected]> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
