The vbd stops when it tries to access /dev/random
Hi all,
We found a problem when we tested PV-on-HVM drivers. The vbd stops when it tries to access /dev/random. This problem occurs because the platform-pci doesn't register SA_SAMPLE_RANDOM handler to request_irq.
This patch is corrected for platform-pci to register it. Thanks.
Signature · 1 line
Hirofumi Tsujimura
# HG changeset patch
# User [email protected]
# Date 1168490742 -32400
# Node ID bc40028d11c0df0add4cb8b9f034f6ed776c3d61 # Parent e66f047bc97e9121bdbd873f61feb37da469c2ba fix /dev/random read
Signed-off-by Tomonari Horikoshi <[email protected]>
Signed-off-by Hirofumi Tsujimura <[email protected]>
unmodified_drivers/linux-2.6/platform-pci/platform-pci.c +1 -1
@@ -250,7 +250,7 @@ static int __devinit platform_pci_init(sif ((ret =init_xen_info ())) goto out; -if ((ret =request_irq (pdev->irq, evtchn_interrupt,SA_SHIRQ , +if ((ret =request_irq (pdev->irq, evtchn_interrupt,SA_SHIRQ |SA_SAMPLE_RANDOM ,"xen-platform-pci" , pdev))) { goto out; }
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Sorry, the vbd doesn't stop.
the random device (/dev/random) stops when system volume of guest domain is started by the vbd. --
Hirofumi Tsujimura