Skip to contentSkip to conversation

Control Interface Question

DISCUSSION bhavani krishnan 2 participants 6 messages Nov 13, 2008 – Nov 30, 2008

lore
Share & tools
lore
#0 lore raw

Hello all,

As per my understanding xc_core_arch_map_p2m retuns the set of physical page frames. Likewise, which function in the control interface returns the set of active virtual pages i.e all the active PTE's in domU?

Thanks,
Bhavani

#1 lore raw

There is no such function. You iterate over the p2m, getting type information for each page it points at. This way you discover which pages contains PTEs.

-- Keir

Quoted 16 lines · bhavani krishnan

Hello all,

As per my understanding xc_core_arch_map_p2m retuns the set of physical page frames. Likewise, which function in the control interface returns the set of active virtual pages i.e all the active PTE's in domU?

Thanks,
Bhavani

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Thanks Keir!
So, how do you get the type information for each page?

Thanks,
Bhavani

Quoted 34 lines · Keir Fraser

From: Keir Fraser <[email protected]>
Subject: Re: [Xen-devel] Control Interface Question
To: [email protected], [email protected]
Date: Thursday, November 13, 2008, 7:39 AM
There is no such function. You iterate over the p2m, getting type
information for each page it points at. This way you discover which pages
contains PTEs.

-- Keir

Quoted 3 lines · bhavani krishnan

Hello all,

As per my understanding xc_core_arch_map_p2m retuns

the set of physical page

Quoted 1 line

frames. Likewise, which function in the control

interface returns the set of

Quoted 1 line

active virtual pages i.e all the active PTE's in

domU?

Quoted 11 lines

Thanks,
Bhavani

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

xc_get_pfn_type_batch().

K.

Quoted 46 lines · bhavani krishnan

Thanks Keir!
So, how do you get the type information for each page?

Thanks,
Bhavani

Quoted 34 lines · Keir Fraser

From: Keir Fraser <[email protected]>
Subject: Re: [Xen-devel] Control Interface Question
To: [email protected], [email protected]
Date: Thursday, November 13, 2008, 7:39 AM
There is no such function. You iterate over the p2m, getting type
information for each page it points at. This way you discover which pages
contains PTEs.

-- Keir

Quoted 3 lines · bhavani krishnan

Hello all,

As per my understanding xc_core_arch_map_p2m retuns

the set of physical page

Quoted 1 line

frames. Likewise, which function in the control

interface returns the set of

Quoted 1 line

active virtual pages i.e all the active PTE's in

domU?

Quoted 11 lines

Thanks,
Bhavani

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw

Issue installing domU

Hi,

I am getting the following error while trying to create domU images using xen-create-image. My dom0 is booting perfectly. Any ideas what the error could be?

Creating swap image: /home/xen/domains/xen1.example.com/swap.img
/bin/dd: opening `/home/xen/domains/xen1.example.com/swap.img': No such file or directory Done

Creating disk image: /home/xen/domains/xen1.example.com/disk.img
/bin/dd: opening `/home/xen/domains/xen1.example.com/disk.img': No such file or directory Done
The disk image creation failed to create /home/xen/domains/xen1.example.com/swap.img. aborting

Thanks,
Bhavani

#5 lore raw

Question on xen logging

In reply to Keir Fraser

Hi,

Some days back, I was able to see detailed messages like page faults etc being logged into /var/log/messages i.e all the printk events were being logged. Since I rebooted the system, I can no longer see these detailed events. I am not sure what settings I changed but I need the logging to be enabled to the level of page faults. Please let me know how to enable it again.

Thanks,
Bhavani