Saturday, August 31, 2013

Aug 31st

Form Fest 5K Marathon

Computer Architecture HW. Talking to the TA a lot.

Computer Architecture Youtube #4

That's all. boy.

Aug 30th

TA office hour (1h)
CS 3810 HW#1, half.

Emulab, set a new experiment.

Discussion with jithu


1) 어디를 고쳤나?
Xen을? linux를?

2) 어디서 capability check를 하나?
어느 레벨에서? 명시적으로?

3)

CS 개강파티
- 조금 먹고 조금 마시고 (음료수)
- 배구하고 축구했음

Thursday, August 29, 2013

Aug 29th

CS 3810
CS 6810

Lunch with Jitju

Xcap review


1. Where do the capacities exist?

a capability is a record in a hypervisor protected data structure.
We call this data structure the capability address space, or the CSpace.
each VM has a private CSpace, and all the code inside it has the same rights.

<Implementation>
struct capability
{
uint32_t magic;
};
struct cap_space
{
int num_caps;
struct capability *caps;
};
struct domain{
struct cap_space *cap_space; <-
}

2. what the "grant" really means and how is it implemented? --> OK
내가 어떤 capability를 가지고 있으면,
상대방에게도 그 capability를 준다.
(하나라도 못주면 fail?, fail이면 그동안 준건 어떻게 해? 그런 정보가 없네)

if ( (ret = cap_grant(to,list,size)) != 0 )
{
TT_ERR("cap_grant failed when called from xc_cap_grant().\n");
rcu_unlock_domain(to);
return ret;

spin_unlock 안하고 return한다.
--> 안톤에게 메일 씀

내일은 다시 XCap proposal로 돌아가서
big picture를 그릴 수 있도록 해보고,
모르는 개념이 있으면 관련 논문을 찾아보는 과정을 거친다.

Wednesday, August 28, 2013

August 28th

TA meeting, office hour set.
Emulab account open.
CS 6810 lecture youtube (3 video)

Xen-Cap paper finish.
Questions
1) where do the capabilities exist? one for each VM or in VMM?
2) what the "grant" really means and how is it implemented?
3) same question about binding?
4) NFS, I did not understand.

Start reading Xen Hypervisor book.
- Chap.1 The state of vitalization
   1.1.1 CPU Virtualization.
what is the privilege mode?
 1) mode of CPU
 2) controlled by OS using system call
 3) privilege mode allows any operation including I/O, memory access and global-state changing operations, which user mode can not do.

Tuesday, August 27, 2013

August 27th

20min * 4 or 5.

Xen-Cap: A Capability Framework for Xen

Except thread model, NFS, related work.

still, what is capability?? -.-;; want to see the implementation.

Starting to figure out the big picture.
Maybe tomorrow, I can finish this paper.