Lines Matching full:legacy
331 bool legacy = virtio_pci_legacy(proxy); in virtio_pci_ioeventfd_assign() local
350 if (legacy) { in virtio_pci_ioeventfd_assign()
363 if (legacy) { in virtio_pci_ioeventfd_assign()
1962 bool legacy = virtio_pci_legacy(proxy); in virtio_pci_device_plugged() local
1978 if (!legacy) { in virtio_pci_device_plugged()
1979 error_setg(errp, "Device doesn't support modern mode, and legacy" in virtio_pci_device_plugged()
1981 error_append_hint(errp, "Set disable-legacy to off\n"); in virtio_pci_device_plugged()
1994 if (legacy) { in virtio_pci_device_plugged()
1997 * To avoid migration issues, we allow legacy mode when legacy in virtio_pci_device_plugged()
2002 "compatibility legacy is allowed"); in virtio_pci_device_plugged()
2005 "device is modern-only, use disable-legacy=on"); in virtio_pci_device_plugged()
2011 " neither legacy nor transitional device"); in virtio_pci_device_plugged()
2015 * Legacy and transitional devices use specific subsystem IDs. in virtio_pci_device_plugged()
2104 if (legacy) { in virtio_pci_device_plugged()
2165 * region 0 -- virtio legacy io bar in virtio_pci_realize()
2209 error_setg(errp, "device cannot work as neither modern nor legacy mode" in virtio_pci_realize()
2211 error_append_hint(errp, "Set either disable-modern or disable-legacy" in virtio_pci_realize()
2443 DEFINE_PROP_ON_OFF_AUTO("disable-legacy", VirtIOPCIProxy, disable_legacy,