[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 32/40] s390x/cpumodel: add zpci, aen and ais faci
From: |
David Hildenbrand |
Subject: |
Re: [Qemu-devel] [PULL 32/40] s390x/cpumodel: add zpci, aen and ais facilities |
Date: |
Mon, 17 Jul 2017 19:23:31 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
> + /* Try to enable AIS facility */
> + kvm_vm_enable_cap(s, KVM_CAP_S390_AIS, 0);
> +
> qemu_mutex_init(&qemu_sigp_mutex);
>
> return 0;
> @@ -2635,6 +2638,10 @@ void kvm_s390_get_host_cpu_model(S390CPUModel *model,
> Error **errp)
> set_bit(S390_FEAT_CMM, model->features);
> }
>
> + /* set zpci and aen facilities */
This comment is not helpful. This should rather say something like "we
emulate a zPCI bus in QEMU, therefore we don't depend on the host
capabilities"
> + set_bit(S390_FEAT_ZPCI, model->features);
> + set_bit(S390_FEAT_ADAPTER_EVENT_NOTIFICATION, model->features);
> +
> if (s390_known_cpu_type(cpu_type)) {
> /* we want the exact model, even if some features are missing */
> model->def = s390_find_cpu_def(cpu_type, ibc_gen(unblocked_ibc),
>
--
Thanks,
David
- Re: [Qemu-devel] [PULL 37/40] s390x/kvm: Enable KSS facility for nested virtualization, (continued)
- [Qemu-devel] [PULL 14/40] s390x/css: add missing css state conditionally, Christian Borntraeger, 2017/07/14
- [Qemu-devel] [PULL 30/40] pc-bios/s390: rebuild s390-ccw.img, Christian Borntraeger, 2017/07/14
- [Qemu-devel] [PULL 13/40] s390x: add css_migration_enabled to machine class, Christian Borntraeger, 2017/07/14
- [Qemu-devel] [PULL 09/40] s390x/flic: introduce inject_airq callback, Christian Borntraeger, 2017/07/14
- [Qemu-devel] [PULL 11/40] s390x/css: update css_adapter_interrupt, Christian Borntraeger, 2017/07/14
- [Qemu-devel] [PULL 08/40] s390x/flic: introduce modify_ais_mode callback, Christian Borntraeger, 2017/07/14
- [Qemu-devel] [PULL 21/40] pc-bios/s390-ccw: Add a write() function for stdio, Christian Borntraeger, 2017/07/14
- [Qemu-devel] [PULL 32/40] s390x/cpumodel: add zpci, aen and ais facilities, Christian Borntraeger, 2017/07/14
- Re: [Qemu-devel] [PULL 32/40] s390x/cpumodel: add zpci, aen and ais facilities,
David Hildenbrand <=
- [Qemu-devel] [PULL 24/40] pc-bios/s390-ccw: Add code for virtio feature negotiation, Christian Borntraeger, 2017/07/14
- [Qemu-devel] [PULL 31/40] s390x: initialize cpu firstly, Christian Borntraeger, 2017/07/14
- [Qemu-devel] [PULL 16/40] s390x/css: activate ChannelSubSys migration, Christian Borntraeger, 2017/07/14
- [Qemu-devel] [PULL 34/40] s390x/cpumodel: wire up new hardware features, Christian Borntraeger, 2017/07/14
[Qemu-devel] [PULL 33/40] s390x/flic: migrate ais states, Christian Borntraeger, 2017/07/14