Re: I can read/write in virtio BLK Device, but I can't run a hello world program in it

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

 



> Thomas Huth <huth@xxxxxxxxxxxxx> wrote:
> 
> Why don't you simply use the driver that is already available in the
> kernel?

I am using a custom hypervisor, the available driver is not suitable for it.

> 
> Have you already verified that you can successfully read the _right_
> data from your block device? I.e. something like
> 
> mount /dev/xxx /mnt
> cp helloworld_static /mnt/root/helloworld_static
> umount /mnt  # just to make sure that it is not cached
> mount /dev/xxx /mnt
> md5sum helloworld_static
> md5sum /mnt/root/helloworld_static
> 
> ... and then compare the two md5sums whether they are the same?

They are different. Thank you so much. I am truly thankful. 

> 
> Thomas

_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization



[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux