Dan Kenigsberg has posted comments on this change. Change subject: [WIP] add host-cpu to api ......................................................................
Patch Set 5: I would prefer that you didn't submit this (1 inline comment) .................................................... File vdsm/libvirtvm.py Line 750: Line 751: #cpu-host support Line 752: # see http://wiki.ovirt.org/wiki/Features/Cpu-host_Support Line 753: if 'cpuMode' in self.conf: Line 754: cpu.setAttribute('mode', self.conf.get('cpuMode')) I do not understand why this is orthogonal to cpuType. Does it make any sense to require both cpuType=Nehalem and set cpuMode? From http://libvirt.org/formatdomain.html#elementsCPU it seems that the answer is no: "Neither model nor feature elements are allowed in this mode". So I guess that this code won't actually run a VM. How about a special cpuType=hostPassthrough for obtaining this functionality? Line 755: Line 756: # This hack is for backward compatibility as the libvirt does not allow Line 757: # 'qemu64' guest on intel hardware Line 758: if model == 'qemu64' and not '+svm' in features: -- To view, visit http://gerrit.ovirt.org/9367 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ie9d107deec2f00912878161348ba639eaa6c4f07 Gerrit-PatchSet: 5 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Laszlo Hornyak <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Deepak C Shetty <[email protected]> Gerrit-Reviewer: Doron Fediuck <[email protected]> Gerrit-Reviewer: Laszlo Hornyak <[email protected]> Gerrit-Reviewer: Royce Lv <[email protected]> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
