将KVM(适用于Linux)移植到Mac OS X [英] Porting KVM (Written for Linux) to Mac OS X

查看:204
本文介绍了将KVM(适用于Linux)移植到Mac OS X的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将KVM(为Linux写)移植到Mac OSX.

I am trying to port KVM (Written for Linux) to Mac OS X.

背景工作:我开始浏览Apple Developer Documents,其中列出了执行此操作的过程.我无法理解其中的某些部分,而我理解并尝试过的部分效果不佳(按计划). 正如Apple Developer文档所建议的那样,我还尝试了fink,macports等.但是,一旦在主机上成功编译了代码,这些程序包管理应用程序就会变得生动起来,对吗? (这就是我的假设). *如果我错了,请纠正我. 现在,我致力于一一消除面临的错误.这种方法需要花费大量的时间和精力,而且,我不知道这种方法是否会奏效.

Background work : I started going through Apple Developer Documents which lists out a procedure to do just that. I was not able to understand some parts of it, and the ones I understood and tried did not work well (as planned). As Apple Developer documents suggested, I also tried through fink, macports etc., But, these package management applications come into picture once the code is successfully compiled on the host, right? (Thats what I assumed). *Correct me if I am wrong. Right now, I am engaged in removing the errors faced, one by one. This method is taking painstakingly long amounts of time and effort, and also, I do not know, if this will ever work.

问题::请让我知道我的方法是对还是错.如果正确,请告诉我下一步该怎么做.如果有误,请告诉我应该采取的第一步. P.S::为该项目分配的许多时间已经徒劳地尝试了不同的方法.请以明确的方式帮助我解决此问题.

QUESTION : Please let me know whether my approach is right or wrong. If right, let me know what should be my next step. If wrong, let me know what should be my first step. P.S : Lots of the time allocated for the project has already gone in vain of trying different methods. Please help me in taking a definitive way to solve this problem.

推荐答案

您的方法不正确.

KVM本质上是一个非常特定于OS的应用程序.将其移植到Mac OS X上不仅是遍历代码并修复编译错误的问题-它的重要部分需要完全重写才能在OS X上运行.(例如,对于初学者来说,没有在OS X上.VT支持以完全不同的方式工作.)

KVM is inherently an extremely OS-specific application. Porting it to Mac OS X is not simply a matter of going through the code and fixing compile errors — significant parts of it will need to be rewritten entirely to work on OS X. (Just for starters, for instance, there is no /dev/kvm on OS X. VT support works in a completely different way.)

如果这对您来说是个新闻,请立即返回. KVM不是简单的软件.如果您不首先了解要处理的内容,则无论您花多少时间,都无法移植它.

If any of this is news to you, TURN BACK NOW. KVM is not a simple piece of software. If you do not first understand what you are dealing with, you will not be able to port it, no matter how much time you spend on it.

这篇关于将KVM(适用于Linux)移植到Mac OS X的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆