[Bug 115451] memset hang on pci device memory using kvm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=115451

--- Comment #2 from Gaurav Sharma <gauravs.2010@xxxxxxxxx> ---
Following is the system info :
Host machine kernel version : 2.6.18-308.el5
Guest OS : Debian 3.2.0-4-686-pae
KVM vesrion : QEMU PC emulator version 0.9.1

Following are the steps to re-create the issue :
1. Boot the guest OS using QEMU with KVM enabled.
2. lspci will list down the pci devices configured on the guest OS.
3. I have a some PCI device configured with bar0 memory.
4. modify the pcimem.c application to use call memset

// This code is being modified to call memset to do a bulk write transaction
case 'w':
         fprintf(stderr, "Before doing memset\n");
         memset((virt_addr), 1, datalen);
         fprintf(stderr, "after doing memset\n");
         break;

5. Call the pcimem application to write on bar0 memory.
6. It results in memset call in hang, and the application needs to be
explicitly killed. I do not get the log message after memset call.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux