[libvirt] [PATCH 2/2] libxl: support enabling the HPET

2011-05-10 Thread Paolo Bonzini
libxl accepts hpet configuration in its domain info struct. Parse the domain definition's clock element in order to set the value. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- src/libxl/libxl_conf.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git

Re: [libvirt] [PATCH 2/2] libxl: support enabling the HPET

2011-05-10 Thread Jim Fehlig
Paolo Bonzini wrote: libxl accepts hpet configuration in its domain info struct. Parse the domain definition's clock element in order to set the value. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- src/libxl/libxl_conf.c |8 1 files changed, 8 insertions(+), 0

Re: [libvirt] [PATCH 2/2] libxl: support enabling the HPET

2011-05-10 Thread Eric Blake
On 05/10/2011 05:24 AM, Paolo Bonzini wrote: libxl accepts hpet configuration in its domain info struct. Parse the domain definition's clock element in order to set the value. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- src/libxl/libxl_conf.c |8 1 files changed, 8

Re: [libvirt] [PATCH 2/2] libxl: support enabling the HPET

2011-05-10 Thread Eric Blake
On 05/10/2011 04:18 PM, Jim Fehlig wrote: Paolo Bonzini wrote: libxl accepts hpet configuration in its domain info struct. Parse the domain definition's clock element in order to set the value. Signed-off-by: Paolo Bonzini pbonz...@redhat.com +for (i = 0; i def-clock.ntimers; i++)

Re: [libvirt] [PATCH 2/2] libxl: support enabling the HPET

2011-05-10 Thread Eric Blake
On 05/10/2011 04:31 PM, Eric Blake wrote: On 05/10/2011 04:18 PM, Jim Fehlig wrote: Paolo Bonzini wrote: libxl accepts hpet configuration in its domain info struct. Parse the domain definition's clock element in order to set the value. Signed-off-by: Paolo Bonzini pbonz...@redhat.com +