mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Now we have verbose=y in Xen by default, tidy up a few unhelpful printk's.
Signed-off-by: ian@xensource.com
This commit is contained in:
1 parent
c0586bf3b0
commit
880dbede4c
4 files changed
+12
-12
No files matched your search
+3
-3
@@ -2841,7 +2841,7 @@ long do_update_descriptor(unsigned long pa, u64 desc)
|
||||
* Writable Pagetables
|
||||
*/
|
||||
|
||||
#ifdef VERBOSE
|
||||
#ifdef VVERBOSE
|
||||
int ptwr_debug = 0x0;
|
||||
#define PTWR_PRINTK(_f, _a...) \
|
||||
do { if ( unlikely(ptwr_debug) ) printk( _f , ## _a ); } while ( 0 )
|
||||
@@ -3054,7 +3054,7 @@ void ptwr_flush(struct domain *d, const int which)
|
||||
*/
|
||||
BUG();
|
||||
}
|
||||
PTWR_PRINTK("[%c] disconnected_l1va at %p is %lx\n",
|
||||
PTWR_PRINTK("[%c] disconnected_l1va at %p is %" PRIpte "\n",
|
||||
PTWR_PRINT_WHICH, ptep, pte.l1);
|
||||
l1e_remove_flags(pte, _PAGE_RW);
|
||||
|
||||
@@ -3072,7 +3072,7 @@ void ptwr_flush(struct domain *d, const int which)
|
||||
/* Ensure that there are no stale writable mappings in any TLB. */
|
||||
/* NB. INVLPG is a serialising instruction: flushes pending updates. */
|
||||
flush_tlb_one_mask(d->cpumask, l1va);
|
||||
PTWR_PRINTK("[%c] disconnected_l1va at %p now %lx\n",
|
||||
PTWR_PRINTK("[%c] disconnected_l1va at %p now %" PRIpte "\n",
|
||||
PTWR_PRINT_WHICH, ptep, pte.l1);
|
||||
|
||||
/*
|
||||
|
||||
@@ -1578,7 +1578,7 @@ static inline int l1pte_write_fault(
|
||||
|
||||
if ( unlikely(!VALID_MFN(gmfn)) )
|
||||
{
|
||||
SH_LOG("l1pte_write_fault: invalid gpfn=%lx", gpfn);
|
||||
SH_VLOG("l1pte_write_fault: invalid gpfn=%lx", gpfn);
|
||||
*spte_p = l1e_empty();
|
||||
return 0;
|
||||
}
|
||||
@@ -1612,7 +1612,7 @@ static inline int l1pte_read_fault(
|
||||
|
||||
if ( unlikely(!VALID_MFN(mfn)) )
|
||||
{
|
||||
SH_LOG("l1pte_read_fault: invalid gpfn=%lx", pfn);
|
||||
SH_VLOG("l1pte_read_fault: invalid gpfn=%lx", pfn);
|
||||
*spte_p = l1e_empty();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -665,7 +665,7 @@ static void free_shadow_pages(struct domain *d)
|
||||
|
||||
shadow_audit(d, 0);
|
||||
|
||||
SH_LOG("Free shadow table.");
|
||||
SH_VLOG("Free shadow table.");
|
||||
}
|
||||
|
||||
void shadow_mode_init(void)
|
||||
@@ -1137,7 +1137,7 @@ static void free_shadow_ht_entries(struct domain *d)
|
||||
d->arch.shadow_ht_free = NULL;
|
||||
|
||||
ASSERT(d->arch.shadow_extras_count == 0);
|
||||
SH_LOG("freed extras, now %d", d->arch.shadow_extras_count);
|
||||
SH_VLOG("freed extras, now %d", d->arch.shadow_extras_count);
|
||||
|
||||
if ( d->arch.shadow_dirty_bitmap != NULL )
|
||||
{
|
||||
|
||||
@@ -483,9 +483,9 @@ static inline int __mark_dirty(struct domain *d, unsigned int mfn)
|
||||
#ifndef NDEBUG
|
||||
else if ( mfn < max_page )
|
||||
{
|
||||
SH_LOG("mark_dirty OOR! mfn=%x pfn=%lx max=%x (dom %p)",
|
||||
SH_VLOG("mark_dirty OOR! mfn=%x pfn=%lx max=%x (dom %p)",
|
||||
mfn, pfn, d->arch.shadow_dirty_bitmap_size, d);
|
||||
SH_LOG("dom=%p caf=%08x taf=%" PRtype_info,
|
||||
SH_VLOG("dom=%p caf=%08x taf=%" PRtype_info,
|
||||
page_get_owner(&frame_table[mfn]),
|
||||
frame_table[mfn].count_info,
|
||||
frame_table[mfn].u.inuse.type_info );
|
||||
@@ -736,7 +736,7 @@ static inline int l1pte_write_fault(
|
||||
|
||||
if ( unlikely(!VALID_MFN(gmfn)) )
|
||||
{
|
||||
SH_LOG("l1pte_write_fault: invalid gpfn=%lx", gpfn);
|
||||
SH_VLOG("l1pte_write_fault: invalid gpfn=%lx", gpfn);
|
||||
*spte_p = l1e_empty();
|
||||
return 0;
|
||||
}
|
||||
@@ -770,7 +770,7 @@ static inline int l1pte_read_fault(
|
||||
|
||||
if ( unlikely(!VALID_MFN(mfn)) )
|
||||
{
|
||||
SH_LOG("l1pte_read_fault: invalid gpfn=%lx", pfn);
|
||||
SH_VLOG("l1pte_read_fault: invalid gpfn=%lx", pfn);
|
||||
*spte_p = l1e_empty();
|
||||
return 0;
|
||||
}
|
||||
@@ -1472,7 +1472,7 @@ static inline void set_shadow_status(
|
||||
/* We need to allocate a new node. Ensure the quicklist is non-empty. */
|
||||
if ( unlikely(d->arch.shadow_ht_free == NULL) )
|
||||
{
|
||||
SH_LOG("Allocate more shadow hashtable blocks.");
|
||||
SH_VLOG("Allocate more shadow hashtable blocks.");
|
||||
|
||||
extra = xmalloc_bytes(
|
||||
sizeof(void *) + (shadow_ht_extra_size * sizeof(*x)));
|
||||
|
||||