On 03/20/2014 08:42 AM, Jiri Denemark wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=1007754
When attaching a new device, we need to check if its boot order
configuration is compatible with current domain definition.
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/conf/domain_conf.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++
src/conf/domain_conf.h | 1 +
2 files changed, 80 insertions(+)
+virDomainDeviceInfoPtr
+virDomainDeviceGetInfo(virDomainDeviceDefPtr device)
+{
I probably would have split this helper function into its own patch - it
may be handy in other situations, where we might want to backport just
this function and a future use of it. But the overall patch is small
enough that I don't mind keeping it as one patch to minimize your churn.
ACK
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org