Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2010 01:28:56 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/xen/evtchn evtchn.c
Message-ID:  <201012300129.oBU1TMOS012711@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
cperciva    2010-12-30 01:28:56 UTC

  FreeBSD src repository

  Modified files:
    sys/xen/evtchn       evtchn.c 
  Log:
  SVN rev 216812 on 2010-12-30 01:28:56Z by cperciva
  
  Add xenpic_dynirq_disable_intr and set it as the .pic_disable_intr method
  for xenpic_dynirq_template.  This fixes a panic when a virtual disk is
  removed, since that results in an interrupt channel being disabled and
  NULL isn't very good function for disabling interrupts.
  
  We should probably have a xenpic_pirq_disable_intr as well; I'm not adding
  that here because (a) I'm not sure what uses pirqs so I don't have a test
  case, and (b) the xenpic_pirq_enable_intr code is significantly more
  complex than the xenpic_dynirq_enable_intr code, so I'm not sure what
  should go into a xenpic_pirq_disable_intr routine.
  
  PR:             kern/153511
  MFC after:      3 days
  
  Revision  Changes    Path
  1.14      +16 -0     src/sys/xen/evtchn/evtchn.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012300129.oBU1TMOS012711>