Don't enable vbox debug output by default
This commit is contained in:
parent
04dae01424
commit
9517ee5a96
@ -126,12 +126,15 @@ static int vbox_irq_handler(struct regs *r) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
void vbox_set_log(void) {
|
||||
debug_file = &vb;
|
||||
}
|
||||
|
||||
static int vbox_check(void) {
|
||||
pci_scan(vbox_scan_pci, -1, &vbox_device);
|
||||
|
||||
if (vbox_device) {
|
||||
fprintf(&vb, "VirtualBox host detected, switching log to VirtualBox.\n");
|
||||
debug_file = &vb;
|
||||
|
||||
uintptr_t t = pci_read_field(vbox_device, PCI_BAR0, 4);
|
||||
if (t > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user