| 
                    
                 | 
                              
                              
                
                    Interrupt handling in vdev
                     
                         
                    
                 
               | 
              
          
        
        
        
         
        
        
        
         
            
              | 
                
                 01/31/2024 2:11 AM 
                post122468 
               | 
                            
                              
                Interrupt handling in vdev
                     
                         
                    
                 
                Hello,
I'm working for developing vdev of gpio for SS.
The interrupt feature of gpio is added in virtio v1.2.
For the host side, there is a gpio resource manager.
There is no code for interrupt in the gpio resource manager, like InterruptAttachEvent(), InterruptWait().
So, I added a thread with InterruptWait() in vdev code.
I wonder the interrupt handling in the vdev code is ok or not.
Can anyone also tell me this is ok or not.
If not, tell me better method please. 
              
                  
                 
               | 
            
            
              | 
                
                
               | 
            
          
            
              |               
                
               |