The correct answer is D. All of the above.

Goodwill is an intangible asset that arises from the reputation and relationships of a business. It is often difficult to quantify, but it can be a significant asset for a business.

The quality of the goods sold by a firm can contribute to its goodwill. If a firm has a reputation for selling high-quality goods, it will be more likely to attract customers and generate sales.

The reputation of the owners of a firm can also contribute to its goodwill. If the owners are well-respected in the community, it will reflect positively on the firm.

The risk involved in a business can also affect its goodwill. If a business is considered to be high-risk, it will be less attractive to investors and customers.

Therefore, all of the factors listed in the question can contribute to the value of goodwill of a firm.