hw/pci: Fix typo in PCI hot-plug error message
'occupied' is spelled like 'ocuppied' in the message. Signed-off-by: Julia Suvorova <jusual@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20201006133958.600932-1-jusual@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
21786c7e59
commit
3298bbce1b
@ -1036,7 +1036,7 @@ static PCIDevice *do_pci_register_device(PCIDevice *pci_dev,
|
||||
return NULL;
|
||||
} else if (dev->hotplugged &&
|
||||
pci_get_function_0(pci_dev)) {
|
||||
error_setg(errp, "PCI: slot %d function 0 already ocuppied by %s,"
|
||||
error_setg(errp, "PCI: slot %d function 0 already occupied by %s,"
|
||||
" new func %s cannot be exposed to guest.",
|
||||
PCI_SLOT(pci_get_function_0(pci_dev)->devfn),
|
||||
pci_get_function_0(pci_dev)->name,
|
||||
|
@ -1571,7 +1571,7 @@ static void spapr_pci_plug(HotplugHandler *plug_handler,
|
||||
*/
|
||||
if (plugged_dev->hotplugged && bus->devices[PCI_DEVFN(slotnr, 0)] &&
|
||||
PCI_FUNC(pdev->devfn) != 0) {
|
||||
error_setg(errp, "PCI: slot %d function 0 already ocuppied by %s,"
|
||||
error_setg(errp, "PCI: slot %d function 0 already occupied by %s,"
|
||||
" additional functions can no longer be exposed to guest.",
|
||||
slotnr, bus->devices[PCI_DEVFN(slotnr, 0)]->name);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user