View keybase.md

Keybase proof

I hereby claim:

  • I am vsrinivas on github.
  • I am vsrinivas (https://keybase.io/vsrinivas) on keybase.
  • I have a public key whose fingerprint is 2331 9833 B1C3 8AF6 2EFC AA5B 0D32 F18E CCED C0D3

To claim this, I am signing this object:

View gist:6045488
jackson# /usr/local/bin/vmm_test
sys_vmm_guest: VMM_GUEST_INIT op
vmm_guest(0): return 0, expected 0
sys_vmm_guest: VMM_GUEST_RUN op
vmm_vmenter
SVMRUN GO!
View gist:5873551
59.52 497 28.87 37.33 9 0.33 0.00 0 0.00 0.00 0 0.00
62.42 467 28.45 36.57 7 0.25 0.00 0 0.00 0.00 0 0.00
61.52 486 29.19 40.00 6 0.23 0.00 0 0.00 0.00 0 0.00
59.95 483 28.26 29.71 35 1.02 0.00 0 0.00 0.00 0 0.00
64.69 488 30.81 57.14 7 0.39 0.00 0 0.00 0.00 0 0.00
60.53 486 28.72 21.74 92 1.95 0.00 0 0.00 0.00 0 0.00
65.83 466 29.94 25.22 125 3.08 0.00 0 0.00 0.00 0 0.00
90.22 425 37.43 57.68 248 13.96 0.00 0 0.00 0.00 0 0.00
47.12 437 20.10 64.00 141 8.81 0.00 0 0.00 0.00 0 0.00
da0 da1 da2 cd8
View gist:5646129
rem# /sbin/dhclient vtnet0
virtio_pci0: host features: 0x719f8060 <EventIdx,0x10000000,NotifyOnEmpty,0x800000,RxModeExtra,VLanFilter,RxMode,ControlVq,Status,MrgRxBuf,TxAllGSO,MacAddress>
virtio_pci0: negotiated features: 0x1078020 <NotifyOnEmpty,RxMode,ControlVq,Status,MrgRxBuf,MacAddress>
vtnet0: error setting host MAC filter table
DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 10.0.2.2 (52:55:0a:00:02:02)
View gist:5602579
rem# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/vbd0s1a 252M 200M 32M 86% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/vbd0s1e 504M 40M 424M 9% /var
/dev/vbd0s1f 252M 10K 232M 0% /tmp
/dev/vbd0s1g 3.1G 1.0G
View gist:5544122
/*
* stopevent()
*
* Stop a process because of a procfs event. Stay stopped until
* p->p_step is cleared (cleared by PIOCCONT in procfs).
*/
void
stopevent(struct proc *p, unsigned int event, unsigned int val)
{
spin_lock(&p->p_spin);
View gist:5264206
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sda 0.00 0.00 0.00 23.00 0.00 184.00 16.00 0.04 1.57 0.00 1.57 0.17 0.40
^ -- cache device
sdb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sdc 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sdd 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sde 0.00 0.00 33.00 0.00 336.00 0.00 20.36 1.32 39.64 39.64 0.00 30.06 99.20
^ -- iSCSI source volume
View gist:5264160
reads 96259
writes 184
read_hits 0
read_hit_pct 0
write_hits 0
write_hit_pct 0
dirty_write_hits 0
dirty_write_hit_pct 0
cached_blocks 3986
rd_replace 0
View gist:4687728
rem# kldload ./if_vtnet.ko
virtio_pci0: host features: 0x711f8060 <EventIdx,0x10000000,NotifyOnEmpty,RxMode
Extra,VLanFilter,RxMode,ControlVq,Status,MrgRxBuf,TxAllGSO,MacAddress>
virtio_pci0: negotiated features: 0x10f8020 <NotifyOnEmpty,VLanFilter,RxMode,Con
trolVq,Status,MrgRxBuf,MacAddress>
vtnet0: MAC address: 52:54:00:12:34:56
add dynamic link state
rem# /sbin/dhclient vtnet0
virtio_pci0: host features: 0x711f8060 <EventIdx,0x10000000,NotifyOnEmpty,RxMode
Extra,VLanFilter,RxMode,ControlVq,Status,MrgRxBuf,TxAllGSO,MacAddress>
View vtypanic.c
#include <sys/types.h>
#include <sys/consio.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include <fcntl.h>
main() {
int fd;
int rc;