qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 2/4] hw/i386/pc: Avoid one use of the current_machine glob


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 2/4] hw/i386/pc: Avoid one use of the current_machine global
Date: Tue, 5 Mar 2024 16:52:39 +0100
User-agent: Mozilla Thunderbird

On 3/3/24 19:53, Bernhard Beschow wrote:
The RTC can be accessed through the X86 machine instance, so rather than passing
the RTC it's possible to pass the machine state instead. This avoids
pc_boot_set() from having to access the current_machine global.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
  hw/i386/pc.c | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]