Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[install] Set xenvif service as boot-start, if present
The xenvif service provides the device objects to which the xennet
driver attaches.  (Other relevant Xen drivers (e.g. xenbus) are
already marked as boot-start since they are required for a local disk
boot.)

Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
  • Loading branch information
mcb30 committed Aug 13, 2014
1 parent 9c564bb commit 77694c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/installer/setup.c
Expand Up @@ -430,6 +430,10 @@ static LONG fix_registry ( void ) {
if ( ( ( err = service_exists ( L"ibsrp" ) ) == ERROR_SUCCESS ) &&
( ( err = set_boot_start ( L"ibsrp" ) ) != ERROR_SUCCESS ) )
return err;
/* xenvif is present only when Xen PV drivers are installed */
if ( ( ( err = service_exists ( L"xenvif" ) ) == ERROR_SUCCESS ) &&
( ( err = set_boot_start ( L"xenvif" ) ) != ERROR_SUCCESS ) )
return err;
if ( ( err = set_boot_start_nics() ) != ERROR_SUCCESS )
return err;

Expand Down

0 comments on commit 77694c0

Please sign in to comment.