Message ID | 20240809035134.699830-3-gshan@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | hw/arm/virt: Improve virt_kvm_type() | expand |
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 83be57db37..09b7a158a9 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -3005,9 +3005,7 @@ static int virt_kvm_type(MachineState *ms, const char *type_str) requested_pa_size = 64 - clz64(vms->highest_gpa); - /* - * KVM requires the IPA size to be at least 32 bits. - */ + /* KVM requires the IPA size to be at least 32 bits */ if (requested_pa_size < 32) { requested_pa_size = 32; }
The comment needn't to span multiple lines and can be merged to one line perfectly. Signed-off-by: Gavin Shan <gshan@redhat.com> --- hw/arm/virt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)