diff options
author | Kaushik Kumar Ram <kaushik@rice.edu> | 2011-08-26 14:58:41 +0100 |
---|---|---|
committer | Kaushik Kumar Ram <kaushik@rice.edu> | 2011-08-26 14:58:41 +0100 |
commit | eab869a86a942e01a799bb3ec56cb24105902461 (patch) | |
tree | 876c4036f3e93f75fe3f8edc04f27953b7b3b46e /tools/libxl/libxl_pci.c | |
parent | e6492f348bb3fda64b984703943c02622c09f57a (diff) | |
download | xen-eab869a86a942e01a799bb3ec56cb24105902461.tar.gz xen-eab869a86a942e01a799bb3ec56cb24105902461.tar.bz2 xen-eab869a86a942e01a799bb3ec56cb24105902461.zip |
Add missing 'break' statement.
Without the 'break', assigning a pci device to a PV guest results in an abort,
since the code always falls through to the default abort case in the switch
statement.
Signed-off-by: Kaushik Kumar Ram <kaushik@rice.edu>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_pci.c')
-rw-r--r-- | tools/libxl/libxl_pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/libxl_pci.c b/tools/libxl/libxl_pci.c index 331e0a5cbb..1669e17027 100644 --- a/tools/libxl/libxl_pci.c +++ b/tools/libxl/libxl_pci.c @@ -696,6 +696,7 @@ static int do_pci_add(libxl__gc *gc, uint32_t domid, libxl_device_pci *pcidev, i } } fclose(f); + break; } default: abort(); |