mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
q35: Check propery to determine if iommu is set
The helper function machine_iommu() isn't necesary. We can directly check for the property. Signed-off-by: Bandan Das <bsd@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Bandan Das <bsd@redhat.com>
This commit is contained in:
parent
dc3db6adde
commit
1f8431f42d
3 changed files with 1 additions and 7 deletions
|
@ -33,7 +33,6 @@ MachineClass *find_default_machine(void);
|
|||
extern MachineState *current_machine;
|
||||
|
||||
bool machine_usb(MachineState *machine);
|
||||
bool machine_iommu(MachineState *machine);
|
||||
bool machine_kernel_irqchip_allowed(MachineState *machine);
|
||||
bool machine_kernel_irqchip_required(MachineState *machine);
|
||||
int machine_kvm_shadow_mem(MachineState *machine);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue