Re: [libvirt] [PATCH 1/1] Refactor HAL Linux code

2009-06-19 Thread Dave Allan
Daniel P. Berrange wrote: On Fri, Jun 19, 2009 at 10:07:36AM +0200, Daniel Veillard wrote: On Thu, Jun 18, 2009 at 09:40:21PM -0400, David Allan wrote: * src/node_device_hal_linux.c, src/node_device.c: Older kernels had vport_create and delete in /sys/class/scsi_host not /sys/class/fc_host. Thi

Re: [libvirt] [PATCH 1/1] Refactor HAL Linux code

2009-06-19 Thread Daniel P. Berrange
On Fri, Jun 19, 2009 at 10:07:36AM +0200, Daniel Veillard wrote: > On Thu, Jun 18, 2009 at 09:40:21PM -0400, David Allan wrote: > > * src/node_device_hal_linux.c, src/node_device.c: Older kernels had > > vport_create and delete in /sys/class/scsi_host not /sys/class/fc_host. > > This patch causes l

Re: [libvirt] [PATCH 1/1] Refactor HAL Linux code

2009-06-19 Thread Daniel Veillard
On Thu, Jun 18, 2009 at 09:40:21PM -0400, David Allan wrote: > * src/node_device_hal_linux.c, src/node_device.c: Older kernels had > vport_create and delete in /sys/class/scsi_host not /sys/class/fc_host. > This patch causes libvirt to look in both places. Important patch as it allows NPIV suppor

[libvirt] [PATCH 1/1] Refactor HAL Linux code

2009-06-18 Thread David Allan
* src/node_device_hal_linux.c, src/node_device.c: Older kernels had vport_create and delete in /sys/class/scsi_host not /sys/class/fc_host. This patch causes libvirt to look in both places. --- src/node_device.c | 23 +- src/node_device.h |2 +- src/node_device_hal