mbox series

[0/2] Some refactoring

Message ID 20240809051054.1745641-1-anisinha@redhat.com (mailing list archive)
Headers show
Series Some refactoring | expand

Message

Ani Sinha Aug. 9, 2024, 5:10 a.m. UTC
replace fprintf() with error_report() in kvm_init()
refactor code in kvm_init() to move core vm creation operation to its
own function.

CC: qemu-trivial@nongnu.org
CC: qemu-devel@nongnu.org
CC: zhao1.liu@intel.com
CC: pbonzini@redhat.com


Ani Sinha (2):
  kvm: replace fprintf with error_report() in kvm_init() for error
    conditions
  kvm: refactor core virtual machine creation into its own function

 accel/kvm/kvm-all.c | 106 +++++++++++++++++++++++++-------------------
 1 file changed, 61 insertions(+), 45 deletions(-)