mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Hardware watchdog
Here is an updated hardware watchdog patch, which should fix everything that was raised about the previous version ... Signed-off-by: Richard W.M. Jones <rjones@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
ffad4116b9
commit
9dd986ccf6
9 changed files with 865 additions and 0 deletions
3
hw/pc.c
3
hw/pc.c
|
@ -37,6 +37,7 @@
|
|||
#include "virtio-balloon.h"
|
||||
#include "virtio-console.h"
|
||||
#include "hpet_emul.h"
|
||||
#include "watchdog.h"
|
||||
#include "smbios.h"
|
||||
|
||||
/* output Bochs bios info messages */
|
||||
|
@ -1023,6 +1024,8 @@ static void pc_init1(ram_addr_t ram_size, int vga_ram_size,
|
|||
}
|
||||
}
|
||||
|
||||
watchdog_pc_init(pci_bus);
|
||||
|
||||
for(i = 0; i < nb_nics; i++) {
|
||||
NICInfo *nd = &nd_table[i];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue