Vitor de Lima has posted comments on this change.
Change subject: vmxml.py, vm.py: Remove QEMU passthrough hack in ppc64
......................................................................
Patch Set 1:
(2 comments)
http://gerrit.ovirt.org/#/c/33871/1//COMMIT_MSG
Commit Message:
Line 5: CommitDate: 2014-10-06 17:00:35 -0300
Line 6:
Line 7: vmxml.py, vm.py: Remove QEMU passthrough hack in ppc64
Line 8:
Line 9: Recent libvirt versions already include a virtual USB keyboard and
nice! but 'recent libvirt versions' is a bit too vague.
This feature was introduced in libvirt 1.2.2 (commits
78730478aa3e3157b9d86b1054d32f61d6616880 and cffa51b81d3ad166a7caf3d4ec08d88c41f273fe).
And it is present in PowerKVM (which includes libvirt version 1.1.3).
Line 10: mouse in guests with graphical consoles. This patch does not include
Line 11: any information about input devices in the domain XML in order to
Line 12: libvirt handle the creation of these devices automatically.
Line 13:
http://gerrit.ovirt.org/#/c/33871/1/vdsm/virt/vm.py
File vdsm/virt/vm.py:
Line 2679: _VMCHANNEL_DEVICE_NAME)
Line 2680:
domxml._appendAgentDevice(self._qemuguestSocketFile.decode('utf-8'),
Line 2681: _QEMU_GA_DEVICE_NAME)
Line 2682:
Line 2683: if self.arch == caps.Architecture.X86_64:
I don't get why we still need to do that on x86_64; or, to put in
different
libvirt automatically creates a USB mouse and keyboard if there are any
graphics devices present in the domain XML, if the appendInput is used in ppc64 you would
end up with 2 USB mice.
Line 2684: domxml.appendInput()
Line 2685:
Line 2686: if self.arch == caps.Architecture.PPC64:
Line 2687: domxml.appendEmulator()
--
To view, visit
http://gerrit.ovirt.org/33871
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I64d660bf7534203d5d5cdbc318ffd1429a16f954
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Vitor de Lima <vdelima(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Vitor de Lima <vdelima(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes