diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-04-09 15:57:31 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-04-09 15:57:31 +0100 |
commit | b8c7fc6368d0ad8bddb3bb524a0d3be3c70ea4eb (patch) | |
tree | c4d93b0a3e5507fea8a7edc3b2ad096d770527d2 /xen/arch/x86/hvm/vpic.c | |
parent | be4ba1347005e812b8046551a426272e27952af2 (diff) | |
download | xen-b8c7fc6368d0ad8bddb3bb524a0d3be3c70ea4eb.tar.gz xen-b8c7fc6368d0ad8bddb3bb524a0d3be3c70ea4eb.tar.bz2 xen-b8c7fc6368d0ad8bddb3bb524a0d3be3c70ea4eb.zip |
hvm: Clean out save/restore debug tracing.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/hvm/vpic.c')
-rw-r--r-- | xen/arch/x86/hvm/vpic.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/xen/arch/x86/hvm/vpic.c b/xen/arch/x86/hvm/vpic.c index ce3943eaab..f7bc2eb34f 100644 --- a/xen/arch/x86/hvm/vpic.c +++ b/xen/arch/x86/hvm/vpic.c @@ -363,32 +363,6 @@ static int vpic_intercept_elcr_io( return 1; } -#ifdef HVM_DEBUG_SUSPEND -static void vpic_info(struct hvm_hw_vpic *s) -{ - printk("*****pic state:*****\n"); - printk("pic 0x%x.\n", s->irr); - printk("pic 0x%x.\n", s->imr); - printk("pic 0x%x.\n", s->isr); - printk("pic 0x%x.\n", s->irq_base); - printk("pic 0x%x.\n", s->init_state); - printk("pic 0x%x.\n", s->priority_add); - printk("pic 0x%x.\n", s->readsel_isr); - printk("pic 0x%x.\n", s->poll); - printk("pic 0x%x.\n", s->auto_eoi); - printk("pic 0x%x.\n", s->rotate_on_auto_eoi); - printk("pic 0x%x.\n", s->special_fully_nested_mode); - printk("pic 0x%x.\n", s->special_mask_mode); - printk("pic 0x%x.\n", s->elcr); - printk("pic 0x%x.\n", s->int_output); - printk("pic 0x%x.\n", s->is_master); -} -#else -static void vpic_info(struct hvm_hw_vpic *s) -{ -} -#endif - static int vpic_save(struct domain *d, hvm_domain_context_t *h) { struct hvm_hw_vpic *s; @@ -398,7 +372,6 @@ static int vpic_save(struct domain *d, hvm_domain_context_t *h) for ( i = 0; i < 2 ; i++ ) { s = &d->arch.hvm_domain.vpic[i]; - vpic_info(s); if ( hvm_save_entry(PIC, i, h, s) ) return 1; } @@ -421,7 +394,6 @@ static int vpic_load(struct domain *d, hvm_domain_context_t *h) if ( hvm_load_entry(PIC, h, s) != 0 ) return -EINVAL; - vpic_info(s); return 0; } |