56945e1 libxl: fix AttachDeviceConfig on hostdev type

1 file Authored by Chunyan Liu 8 years ago, Committed by Jim Fehlig 8 years ago,
    libxl: fix AttachDeviceConfig on hostdev type
    
    After attach-device a <hostdev> with --config, new device doesn't
    show up in dumpxml and in guest.
    
    To fix that, set dev->data.hostdev = NULL after work so that the
    pointer is not freed, since vmdef has the pointer and still need it.
    
    Signed-off-by: Chunyan Liu <cyliu@suse.com>
    
        
file modified
+1 -0