search for: sw_guest

Displaying 4 results from an estimated 4 matches for "sw_guest".

Did you mean: w_guest
2010 Aug 16
1
[PATCH] Install VirtIO storage and network drivers in Windows
...my $name = $src; + $src = File::Spec->catfile($virtio); + my $dst = File::Spec->catfile($driverdir, $name); + $g->cp_a($src, $dst); + } + + # Locate and download the SOFTWARE hive + my $sw_local = File::Spec->catfile($tmpdir, 'software'); + my $sw_guest = $g->case_sensitive_path('/windows/system32/config/software'); + + $g->download($sw_guest, $sw_local); + + # Open the registry hive. + my $h = Win::Hivex->open($sw_local, write => 1) + or die "open hive $sw_local: $!"; + + # Find the node \Microsoft...
2010 Aug 13
2
[PATCH] Add debug output to hivex_close
--- lib/hivex.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/lib/hivex.c b/lib/hivex.c index 13d7556..8a774de 100644 --- a/lib/hivex.c +++ b/lib/hivex.c @@ -543,6 +543,9 @@ hivex_close (hive_h *h) free (h->filename); free (h); + if (h->msglvl >= 1) + fprintf (stderr, "hivex_close\n"); + return r; } -- 1.7.2.1
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...vcpu->regs.rax = 0xFFFFFFFF; + else + vcpu->regs.rax |= (0xFFFF << shift); + } + vcpu->regs.rip += insnlen; + return 1; +} + +#define SAVE_CR2(cr2) asm volatile ("movq %%cr2, %0" : "=r" (cr2)) + +static void run_guest_once(struct lguest_vcpu *vcpu) +{ + void (*sw_guest)(struct lguest_vcpu *) = HV_OFFSET(&switch_to_guest); + unsigned long foo, bar; + + BUG_ON(!vcpu->regs.cr3); + BUG_ON(!vcpu->pgdir); + BUG_ON(!vcpu->pgdir->pgdir); + asm volatile ("pushq %2; pushq %%rsp; pushfq; pushq %3; call *%6;" + /* The stack we pushed is off b...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...vcpu->regs.rax = 0xFFFFFFFF; + else + vcpu->regs.rax |= (0xFFFF << shift); + } + vcpu->regs.rip += insnlen; + return 1; +} + +#define SAVE_CR2(cr2) asm volatile ("movq %%cr2, %0" : "=r" (cr2)) + +static void run_guest_once(struct lguest_vcpu *vcpu) +{ + void (*sw_guest)(struct lguest_vcpu *) = HV_OFFSET(&switch_to_guest); + unsigned long foo, bar; + + BUG_ON(!vcpu->regs.cr3); + BUG_ON(!vcpu->pgdir); + BUG_ON(!vcpu->pgdir->pgdir); + asm volatile ("pushq %2; pushq %%rsp; pushfq; pushq %3; call *%6;" + /* The stack we pushed is off b...