Home
last modified time | relevance | path

Searched refs:vpic (Results 1 – 4 of 4) sorted by relevance

/arch/x86/kvm/
Di8259.c655 struct kvm_pic *vpic = kvm->arch.vpic; in kvm_destroy_pic() local
657 if (vpic) { in kvm_destroy_pic()
658 kvm_io_bus_unregister_dev(kvm, KVM_PIO_BUS, &vpic->dev_master); in kvm_destroy_pic()
659 kvm_io_bus_unregister_dev(kvm, KVM_PIO_BUS, &vpic->dev_slave); in kvm_destroy_pic()
660 kvm_io_bus_unregister_dev(kvm, KVM_PIO_BUS, &vpic->dev_eclr); in kvm_destroy_pic()
661 kvm->arch.vpic = NULL; in kvm_destroy_pic()
662 kfree(vpic); in kvm_destroy_pic()
Dirq.h83 return kvm->arch.vpic; in pic_irqchip()
Dx86.c3862 struct kvm_pic *vpic; in kvm_arch_vm_ioctl() local
3866 if (kvm->arch.vpic) in kvm_arch_vm_ioctl()
3872 vpic = kvm_create_pic(kvm); in kvm_arch_vm_ioctl()
3873 if (vpic) { in kvm_arch_vm_ioctl()
3878 &vpic->dev_master); in kvm_arch_vm_ioctl()
3880 &vpic->dev_slave); in kvm_arch_vm_ioctl()
3882 &vpic->dev_eclr); in kvm_arch_vm_ioctl()
3884 kfree(vpic); in kvm_arch_vm_ioctl()
3890 kvm->arch.vpic = vpic; in kvm_arch_vm_ioctl()
7440 kfree(kvm->arch.vpic); in kvm_arch_destroy_vm()
/arch/x86/include/asm/
Dkvm_host.h571 struct kvm_pic *vpic; member