Re: [PATCH] i386/sev: Nitpick at the error message's output

2024-01-07 Thread Yong Huang
On Sat, Jan 6, 2024 at 12:43 AM Alex Bennée wrote: > Hyman Huang writes: > > > The incorrect error message was produced as a result of > > the return number being disregarded on the sev_kvm_init > > failure path. > > > > For instance, when a user's failure to launch a SEV guest > > is caused by

Re: [PATCH] i386/sev: Nitpick at the error message's output

2024-01-05 Thread Alex Bennée
Hyman Huang writes: > The incorrect error message was produced as a result of > the return number being disregarded on the sev_kvm_init > failure path. > > For instance, when a user's failure to launch a SEV guest > is caused by an incorrect IOCTL, the following message is > reported: > > kvm: se

Re: [PATCH] i386/sev: Nitpick at the error message's output

2024-01-05 Thread Daniel P . Berrangé
On Sat, Jan 06, 2024 at 12:09:55AM +0800, Hyman Huang wrote: > The incorrect error message was produced as a result of > the return number being disregarded on the sev_kvm_init > failure path. > > For instance, when a user's failure to launch a SEV guest > is caused by an incorrect IOCTL, the foll

[PATCH] i386/sev: Nitpick at the error message's output

2024-01-05 Thread Hyman Huang
The incorrect error message was produced as a result of the return number being disregarded on the sev_kvm_init failure path. For instance, when a user's failure to launch a SEV guest is caused by an incorrect IOCTL, the following message is reported: kvm: sev_kvm_init: failed to initialize ret=-