Re: [libvirt] [PATCH v3 19/20] Refactor qemuCapsParseDeviceStr to work from data tables

2012-09-27 Thread Jiri Denemark
On Tue, Sep 25, 2012 at 19:00:12 +0100, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com Currently the qemuCapsParseDeviceStr method has a bunch of open coded string searches/comparisons to detect devices and their properties. Soon this data will be obtained from QMP

[libvirt] [PATCH v3 19/20] Refactor qemuCapsParseDeviceStr to work from data tables

2012-09-25 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com Currently the qemuCapsParseDeviceStr method has a bunch of open coded string searches/comparisons to detect devices and their properties. Soon this data will be obtained from QMP queries instead of -device help output. Maintaining the list of device