Re: [Qemu-devel][PATCH 2/2] target-i386: kvm: Disable KVM quirks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 13/04/2015 01:32, Nadav Amit wrote:
> +    if (kvm_check_extension(s, KVM_CAP_ENABLE_CAP_VM)) {

The right capability to check here is KVM_CAP_DISABLE_QUIRKS, not
KVM_CAP_ENABLE_CAP_VM.

Paolo

> +        ret = kvm_vm_enable_cap(s, KVM_CAP_DISABLE_QUIRKS, 0,
> +                                KVM_QUIRK_LINT0_DISABLED |
> +                                KVM_QUIRK_CD_NW_CLEARED);
> +        if (ret < 0) {
> +            return ret;
> +        }
> +    }
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux